Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Warning" Importing from collections #236

Closed
CasperWA opened this issue Sep 28, 2021 · 0 comments · Fixed by #240
Closed

"Warning" Importing from collections #236

CasperWA opened this issue Sep 28, 2021 · 0 comments · Fixed by #240
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@CasperWA
Copy link
Contributor

Instead of importing ABCs from collections, they should be imported from collections.abc. This is a general warning that pops up:

EMMO-python/ontopy/factpluspluswrapper/sync_factpp.py:42: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
    elif isinstance(ontology_or_world, collections.Sequence):
@CasperWA CasperWA added enhancement New feature or request good first issue Good for newcomers labels Sep 28, 2021
@CasperWA CasperWA self-assigned this Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant