You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, would it be possible to get this package into pypi?
We currently download all our other python dependencies from pypi, but with this package, we have had to fork it and upload it to our own internal pypi server. Thanks
Reacted by David, Jordi Riera, Ryo Takahashi, Ashley Whetter, Jon Wolski, dkbarn and Fabian Geisler
We haven't given up on this. Our first focus along these lines was moving our documentation to sphinx. We'll get back to this one shortly but as a reminder, in the meantime it's currently available via pip directly from our repo using:
Any update on this? While doing the manual pip install directly from github works, there are cases where this isn't a great fit. For instance, "pip-compile" (from the pip-tools package) to manage pip requirement files only works with GitHub URLs using the "editable" (-e) syntax, which may not be desirable, and also breaks with pip's "--target" option.
Are there legal/licensing considerations with publishing to PyPI that don't apply to Github, or is it a matter of having PyPI submission incorporated into your build/deploy process? Having it on PyPI would be nice.
FWIW, we are running a private PyPI server locally and I just had to update the setup.py slightly to make it work. These are in my pull request (#184), although perhaps the gitignore addition is unwanted.
There's a couple of things that prevent pip install-ing from github being a good option for us.
We don't have internet access, and so retrieving a new version is a convoluted and manual process. We can then package and upload it to our internal devpi server, but if shotgun were available on PyPi then devpi would be mirroring the shotgun on PyPi automatically and there would be no manual step required.
Even if we did have internet access, the upload to a devpi server has become a requirement to allow shotgun to be properly specified as a dependency in our packages. It used to be the case that you could specify dependencies living on github through the dependency_link argument to setuptools. But in newer versions of pip, that argument is now ignored (https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html#dependencies-that-aren-t-in-pypi).
Hi @AWhetter, I've just stumbled on this issue as part of trying to figure out the API version mismatch between the repo and PyPI. Is there any chance you can push the 3.9.0 API to PyPI? The ancient version of six vendored in the older API versions is starting to wreak havoc with more modern dependency chains...
Activity
manneohrstrom commentedon Jan 20, 2016
Hi! If you are using
pip, you can dopip install git+git://github.com/shotgunsoftware/python-api.git. Is this an option at all? For more info, see https://github.com/shotgunsoftware/python-api#installing-with-pipI will reach out to our engineers and PMs and see what their thoughts are about pushing to pypi.
Thanks!
Manne
taiello commentedon Jan 21, 2016
Hi, fwiw, we do the pip install approach and it works fine. That said, we would also be in support of adding the API to pypi.
kporangehat commentedon Jan 21, 2016
Hey guys,
We're looking into this now. There's a few things we need to sort but I think we can make it happen. Will update shortly!
cheers,
kp
kporangehat commentedon Nov 1, 2016
We haven't given up on this. Our first focus along these lines was moving our documentation to sphinx. We'll get back to this one shortly but as a reminder, in the meantime it's currently available via
pipdirectly from our repo using:which is also pretty easy 😸 .
YKdvd commentedon Jan 23, 2018
Any update on this? While doing the manual pip install directly from github works, there are cases where this isn't a great fit. For instance, "pip-compile" (from the pip-tools package) to manage pip requirement files only works with GitHub URLs using the "editable" (-e) syntax, which may not be desirable, and also breaks with pip's "--target" option.
Are there legal/licensing considerations with publishing to PyPI that don't apply to Github, or is it a matter of having PyPI submission incorporated into your build/deploy process? Having it on PyPI would be nice.
ricekab commentedon Jan 4, 2019
FWIW, we are running a private PyPI server locally and I just had to update the setup.py slightly to make it work. These are in my pull request (#184), although perhaps the gitignore addition is unwanted.
nzanepro commentedon Sep 28, 2020
bump Please revisit this issue. it would be really fantastic to have this hosted on PyPi for CI/CD purposes.
AWhetter commentedon Jul 28, 2021
There's a couple of things that prevent
pip install-ing from github being a good option for us.We don't have internet access, and so retrieving a new version is a convoluted and manual process. We can then package and upload it to our internal devpi server, but if shotgun were available on PyPi then devpi would be mirroring the shotgun on PyPi automatically and there would be no manual step required.
Even if we did have internet access, the upload to a devpi server has become a requirement to allow shotgun to be properly specified as a dependency in our packages. It used to be the case that you could specify dependencies living on github through the
dependency_linkargument to setuptools. But in newer versions of pip, that argument is now ignored (https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html#dependencies-that-aren-t-in-pypi).If it helps, there's Github Actions available to automate the process of releasing to PyPi when a tagged commit is pushed: https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
michaelkozakovsc commentedon Dec 17, 2021
Bump! My org doesn't allow requirements.txt files with git links, so would really appreciate a pypi distribution!
AWhetter commentedon Aug 19, 2022
I've started uploading shotgun to PyPI myself (https://pypi.org/project/shotgun-api3/) from https://github.com/AWhetter/shotgun_api3. I'll happily give upload permissions to the shotgun team if they would like to manage these uploads themselves.
darkvertex commentedon Apr 15, 2024
@AWhetter care to refresh it? it's a couple of releases behind.
carlos-villavicencio-adsk commentedon Apr 22, 2024
Hello folks. Unfortunately, we don't have plans to have the packages available on PyPi at this point. Sorry if this causes any inconvenience.
darkvertex commentedon Jun 2, 2025
@AWhetter you're a few versions behind again. care to push the missing ones to pypi?
AWhetter commentedon Jun 18, 2025
@darkvertex Thanks for the reminder. I've uploaded the most recent versions.
nrusch commentedon Nov 15, 2025
Hi @AWhetter, I've just stumbled on this issue as part of trying to figure out the API version mismatch between the repo and PyPI. Is there any chance you can push the 3.9.0 API to PyPI? The ancient version of
sixvendored in the older API versions is starting to wreak havoc with more modern dependency chains...Thanks very much!
AWhetter commentedon Nov 15, 2025
@nrusch Thanks for the reminder. I've uploaded v3.9.0.
nrusch commentedon Nov 16, 2025
Oh great, thank you for the quick response!