-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support for Python 3.9 #15
Comments
I also get these errors:
for python 3.7 and 3.8 |
Regarding those errors mentioned by @PhilippSelenium , there is a bit of semi-related discussion at 850e40f#r44152239 Note in both cases it is the presentation of the assertion error which is different. That has no effect on whether nose2pytest is working correctly, and is very likely dependent on the pytest version being used in testing. Building the tests to support lots of pytest versions would be quite useful, and that would be a good reason to use |
Running pytest with --assert=plain might help getting the tests working with more pytest versions |
I get the same errors when running with |
Note that this also applies to Python 3.10 (#21). We are looking for volunteers to look into this issue. |
I have fixed this: now works up to Python 3.11. |
This was not pushed to pypi, @nicoddemus @schollii |
I'm afraid I don't have release right on PyPI. @schollii could you please add me as maintainer on PyPI? Then we can setup a deploy workflow to streamline releases. |
@nicoddemus done but please let me know before pushing updates to pypi |
No problem. I plan to add a |
Yes that works |
I tried to use this project today and it failed with an error:
Are there any plans to release a version that runs on a supported Python version? |
@jaraco which nose2pytest release/commit did you try? Latest (as of Nov 2022) works up to python 3.11. |
1.0.8:
That's the latest version on PyPI: I was able to work around the issue by installing from Github instead of PyPI, but in my experience, PyPI is the canonical place to publish releases. It's also where the readme directs the user for installation. |
@jaraco thanks and I agree we need to fix this. @nicoddemus any update on creating that workflow? Looks like there should have been a 1.0.9 release or such. |
% |
The plugin seems to have a manual check for Python versions that it supports. 3.9 is to be released soon. Nose has problems related to importing ABC from collections directly nose-devs/nose#1099 . This change was postponed to 3.10 but might cause more people to migrate to pytest.
Also note that lib2to3 is deprecated since Python 3.10.
Enabling 3.9 in the conditional gives me below errors :
The text was updated successfully, but these errors were encountered: