-
Notifications
You must be signed in to change notification settings - Fork 8
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
fix: backport typing #69
Conversation
The `Parser` class was made available at `pytest.Parser` only for pytest 7. See pytest-dev/pytest@538b5c2
It appears the a number of tests are broken (I suspect due to changes on the aiida-core side)
Most of them are in archive cache; one is also in test_diff
|
@ltalirz The archive tests should be fixed by adding the archive_cache:
ignore:
calcjob_attributes:
#These attributes have to be ignored to be able to run the export cache tests
#while reusing the same test archive, migrating it to the needed version,
#since they are only present in newer versions
#The test archives have version 0.8
- environment_variables_double_quotes #This option was introduced in aiida-core 2.0
- submit_script_filename #This option was introduced in aiida-core 1.2.1 (archive version 0.9)
- metadata_inputs # Added in aiida-core 2.3.0 I can't commit to the branch directly if you want you can commit the change directly or I can open a separate PR for it. |
Ah great, thanks for looking into this @janssenhenning ! Added to the ignore list P.S. Also just invited you as a contributor to the repo |
that did the trick - great
|
Instead of going with this PR we could also simply bump the required pytest version. I don't see much of a reason to support anything older? (But I still need to explore where this package is used in the wild). But the fact that nobody complained about this seems to indicate it would be fine to bump the version. |
sure, that's fine as well |
Superseded by #73 where I bumped minimum pytest version to 7.0 (it still supports Python 3.7 so its fine). |
The
Parser
class was made available atpytest.Parser
only for pytest 7.See pytest-dev/pytest@538b5c2