Closed StephenChan closed 1 year ago
Merged, and bumped version on PyPI to 0.4.0.
Meanwhile, I added as many git tags as I could for past releases of pyspacer, double-checking against the source distributions on PyPI. I only added a tag when there seemed to be a direct match between the corresponding PyPI release and a particular commit-history point on GitHub (only checked by inspection, nothing rigorous like a checksum).
Also deleted the 1.0 tag, since it did not correspond to any PyPI release of pyspacer. It was on PR #3 I believe (preceding the first release).
Software upgrades:
urllib.request
usageMore changes:
secrets.json
file or by environment variables. Now a third way is available: aSPACER
setting in a Django project. This makes it slightly cleaner for coralnet to configure spacer (noos.environ
calls needed in coralnet settings). Also, thesecrets.json
method no longer usesSPACER_
prefixes for each variable name.LOCAL_MODELS_PATH
setting is now explicitly required. It was previously not required upfront, but its absence would make some tests fail (I think this was only observable if AWS access was configured and models path was not).test_beta_regression.py
totest_legacy.py
At this point I think I understand how PySpacer connects to AWS Batch/ECR, how to update the version on PyPI, and in general how to maintain it as a package.