#50032 Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated in Python 3.7
Closed: wontfix by vashirov. Opened by vashirov.

Issue Description

  /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1842: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    if isinstance(attr, collections.Callable): 

Package Version and Platform

metadata: {'Python': '3.7.1', 'Platform': 'Linux-4.18.16-300.fc29.x86_64-x86_64-with-fedora-29-Twenty_Nine', 'Packages': {'pytest': '4.0.0', 'py': '1.5.4', 'pluggy': '0.8.0'}, 'Plugins': {'metadata': '1.7.0', 'html': '1.19.0'}}
389-ds-base: 1.4.0.19-1.fc29

Steps to reproduce

  1. Run basic_test.py::test_basic_ops with python 3.7

Actual results

Deprecation warning is issued.

Expected results

No deprecation warning.


Metadata Update from @mreynolds:
- Custom field component adjusted to None
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to None
- Custom field type adjusted to None
- Custom field version adjusted to None
- Issue set to the milestone: 1.4.0

Metadata Update from @vashirov:
- Issue assigned to vashirov

https://pagure.io/389-ds-base/pull-request/50118

Metadata Update from @vashirov:
- Custom field reviewstatus adjusted to review (was: None)

Commit 7a0b8ae5 fixes this issue

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/3091

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

Metadata
Related Pull Requests