-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
silence deprecation warnings #182
silence deprecation warnings #182
Conversation
We will probably need to bump the version (in spython/version.py) and add a note to the CHANGELOG (.md) in the root if it's not too much trouble! |
Also can you please confirm the changes still work in older versions of Python (3.9.x is fairly new) and that semver here singularity-cli/spython/version.py Line 17 in 64358eb
|
I think the most sustainable way to ensure a minimum python version is to parameterize the github actions to use various python versions. I would implement this first in a separate branch if that is ok |
If you'd be willing to do that, it would be great. |
I have a branch that runs the tests with python 3.7-3.9. https://github.com/MarDiehl/singularity-cli/runs/3758070266?check_suite_focus=true |
ah I see the issue. We don't run the singularity python tests on GitHub CI - singularity doesn't install there with appropriate permissions to do so. You'll want to add the matrix logic to .circleci/config.yaml. |
But I haven't tried it in years - if you want to give a shot in GitHub you could try https://github.com/marketplace/actions/setup-singularity. |
It almost works: https://github.com/MarDiehl/singularity-cli/runs/3759771046?check_suite_focus=true, there are only two issues
|
sudo should work in actions - that failure looks like you need the singularity install location in sudos path. That could be done here or maybe better alongside the action to install it. |
I've included a workaround: any comments on the remaining fails? I would assume that the extra information |
That should be easy to fix! You can add:
to test_client.py for the |
801b8d1
to
258f35a
Compare
258f35a
to
8113c9a
Compare
spotted with re (python 3.9.7) and semver 2.13.0. VersionInfo.parse is available since semver 2.8.1, see https://github.com/python-semver/python-semver/releases/tag/2.8.1
8113c9a
to
5b61a5b
Compare
Thanks again! It looks much better without the warnings. |
they show up for: