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

Add test script to test pyspedas releases as installed from pypi #1031

Open
jameswilburlewis opened this issue Oct 8, 2024 · 0 comments
Open
Labels
packaging python Issues involving Python and Python-related tools outside of pyspedas QA/Testing

Comments

@jameswilburlewis
Copy link
Contributor

Our current github actions test scripts install pyspedas via 'git clone' rather than 'pip install'. This won't catch packaging problems, as recently happened when some directories got moved without updating MANIFEST.in to ensure that necessary non-Python files were still included in the release. So we should do some testing on the 'pip install'-able packages.

Of course, we would want to catch such problems before releasing to pypi. So we may want to alter our release workflow, for example by releasing a beta package to pypi first (that 'pip install' won't see by default), testing it, then promoting to a 'production' release after the beta passes its tests. Or, I believe there's some sort of 'test' server for pypi. So we can deploy a release to the test pypi server, test it, then upload the identical files to production-pypi after it passes.

And this might in turn lead to us creating release-specific branches and tags, rather than building and releasing directly from the master branch.

@jameswilburlewis jameswilburlewis added QA/Testing python Issues involving Python and Python-related tools outside of pyspedas packaging labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packaging python Issues involving Python and Python-related tools outside of pyspedas QA/Testing
Projects
None yet
Development

No branches or pull requests

1 participant