-
Notifications
You must be signed in to change notification settings - Fork 19
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
Request for publication to PyPI #1076
Comments
This sounds like a great idea. Currently in soconda we just pip install master. Obviously
Most people actively hacking on sotodlib will still install from a git checkout, but downstream dependencies can have a known working so3g + sotodlib configuration. Thoughts? |
Thanks @tskisner, that sounds good to me! Just to restate my question I added in an edit so it doesn't get missed -- is it possible to publish one version that is 3.8 compatible that I can pin |
We could do that, but it would require a one-off change to the version requirements. What I would recommend / volunteer to do would be:
I can work on the PR in (1) if there is consensus, but I'm trying to finish a variety of other package things for so3g and an upstream dependency holding up soconda. Do you have a python 3.8 solution that is working for the next ~week? |
Ah, I was thinking just a manually published version with 351e8bf (and possibly later commits, if needed) reverted as the first tag on PyPI. After that I don't really mind. I wasn't trying to ask for you to maintain a separate long-lived branch. I'm going to try to move to >=3.9 in ocs/socs too, but it's going to take some time. In the meantime I do have a pin working in the requirements file, so can definitely wait until after the holidays. |
This is something we missed I think in #1059. A github workflow will be great because then we can trigger the creation of soconda envs based on these releases and have a fairly stable and reproducible environments. |
Yeah, sorry, I forgot that this was an issue until |
On GH workflows for this, I am really big fan of the workflows I use here where I use commitizen to automatically do semver for me and then publish a new release to pypi whenever the version is bumped. This would need a slight change in dev behavior because the commit messaged would need to be formatted in a certain way but thats manageable as part of the review process. |
Can we publish
sotodlib
to PyPI and make somewhat regular releases? This would help packages that depend onsotodlib
, for instancesocs
. Currently I have to specify the install in ourrequirements.txt
file like:With the removal of 3.8 support I need to pin to an old commit. If
sotodlib
had been published to PyPI, pip would have been able to find a suitable fallback version for installation, and I could more simply pin to an older version inpyproject.toml
.It seems like this was being considered at one point (#105), so I hope it isn't too big an ask.
EDIT: If this does happen, is it possible to publish one version that is 3.8 compatible that I can pin to?
The text was updated successfully, but these errors were encountered: