Skip to content

Drone: Add Python 3.10 to the testing#1439

Closed
cclauss wants to merge 4 commits intoRDFLib:masterfrom
cclauss:patch-1
Closed

Drone: Add Python 3.10 to the testing#1439
cclauss wants to merge 4 commits intoRDFLib:masterfrom
cclauss:patch-1

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Oct 12, 2021

Fixes #

Proposed Changes

  • Add Python 3.10 to the testing

Nose is incompatible with Python 3.10 which has finally removed the alias between collections and collections.abc.

  File "/usr/local/lib/python3.10/site-packages/nose/suite.py", line 106, in _set_tests
    if isinstance(tests, collections.Callable) and not is_suite:
AttributeError: module 'collections' has no attribute 'Callable'

https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable

@cclauss cclauss mentioned this pull request Oct 14, 2021
@nicholascar
Copy link
Member

nicholascar commented Oct 17, 2021

We are going to have to do work to get this passed. I do want to support 3.10 ASAP and I also want to move away from nose, to pytest.

We might just have to leave this unmerged until the Callable fix is merged first.

@cclauss
Copy link
Contributor Author

cclauss commented Oct 17, 2021

Agreed. In fact, these mods should be part of #1268

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants