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

116 dependabot tests failing for python38 #119

Merged

Conversation

JPchico
Copy link
Collaborator

@JPchico JPchico commented Apr 9, 2024

Fixing an issue in which the newer versions of jsonschema were causing the tests to fail.

Have pinned the jsonschema dependency and removed some leftover python 3.8 tests and mentions.

Fixes #116

@JPchico JPchico requested review from chrisjsewell and sphuber April 9, 2024 10:12
@JPchico JPchico self-assigned this Apr 9, 2024
Copy link

codecov bot commented Apr 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.51%. Comparing base (2e3bfce) to head (6f1458e).

❗ Current head 6f1458e differs from pull request most recent head 1e84f30. Consider uploading reports for the commit 1e84f30 to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #119   +/-   ##
========================================
  Coverage    85.51%   85.51%           
========================================
  Files           19       19           
  Lines         1622     1622           
========================================
  Hits          1387     1387           
  Misses         235      235           
Flag Coverage Δ
pytests 85.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Jonathan Chico and others added 2 commits April 9, 2024 13:56
… to a change in aiida-core where the load_documentation_profile does not exist anymore.
Copy link
Member

@sphuber sphuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @JPchico

@@ -29,10 +29,7 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: "3.8"
lammps-version: "2020.12.24"
backend: django
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can remove all the other backend occurrences. The difference between django/sqlalchemy was removed in AiiDA v2, it no longer makes sense.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! thanks, I suspected it just was not sure why it was there in the latest release.

"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you add this, maybe also add 3.11 to the test matrix of the CI? Also, please update requires-python to be >=3.9. Finally, do you also want to add 3.12 perhaps? aiida-core supports it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sphuber !
Thanks for the comments, I wonder if adding the 3.12 is okay since well the plugin supports it but I have not found a lammps release candidate that can be installed with conda for python 3.12 (in general it is a bit of a pain to see which version of lammps is compatible with which python version since the only way seems to look into the conda wheels)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does lammps depend on Python?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only on the sense on how we install it, we install lammps using conda in the action, and then we use the same python version for aiida. So if we install install python 3.12 there is no lammps conda release for it.
We could install it in some other way, it is possible to do it via apt, but the versioning is a bit unclear there

@JPchico
Copy link
Collaborator Author

JPchico commented Apr 10, 2024

Hi @sphuber I'll merge this even if the codecov is failing since this seems to be an upstream issue with the action.

@JPchico JPchico merged commit b6cc218 into aiidaplugins:develop Apr 10, 2024
6 of 7 checks passed
@JPchico JPchico deleted the 116-dependabot-tests-failing-for-python38 branch April 10, 2024 13:08
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