1,860 questions
3 votes
2 answers
124 views
twine error with recent setuptools build but previous ones fine "InvalidDistribution: Metadata is missing required fields: Name, Version"
I'm trying to upload the python module I maintain to pypi (as I have done every few months for the last twelve years) but when I run twine check I get: $ twine check dist/pi3d-2.55* Checking dist/pi3d-...
0 votes
0 answers
98 views
Is the exclude-newer setting in uv sufficient for determinism and reproducibility without a lockfile?
The Python package management tool uv has an exclude-newer setting, documented as follows: Limit candidate packages to those that were uploaded prior to a given point in time. Accepts a superset of ...
0 votes
1 answer
41 views
Grayskull slow in GitLab CI with local sdist
I’m generating a conda recipe from a local source distribution (sdist) using Grayskull. On my laptop (inside company intranet) it completes in ~30 seconds. In our GitLab CI pipeline (also inside the ...
5 votes
1 answer
195 views
pypi caching in Artifactory
we're evaluating using Artifactory as a proxy for pypi.org so we can whitelist packages for our developers, and prevent things like typosquatting. I was pleasantly surprised when inital setup of the ...
0 votes
2 answers
159 views
Where is the dependency error, when installing python package from PyPi?
I am trying to release a package on PyPi. When I test the package I get the following error: The conflict is caused by: bw2calc 2.1 depends on fsspec bw2calc 2.0.2 depends on fsspec ...
1 vote
1 answer
80 views
How can I detect all missing packages at once when installing from a private PyPI index?
I'm working in a Python project that uses a private Artifactory PyPI index. When I run: pip install -e ".[dev]" \ --index-url https://<my-artifactory>/artifactory/api/pypi/pypi-local/...
0 votes
0 answers
45 views
Timed out error at upload to PyPi with pdm
When I try to upload a new version 0.8.2 of my python software with pdm to PyPi I get the error [WriteTimeout]: The write operation timed out while the upload works for another project with very ...
1 vote
1 answer
210 views
PyPI publishing GitHub Action works with token but not trusted provider
This pull request modifies our open source package batfish/docker GitHub actions to use PyPI trusted publishing on Test PyPI instead of a password. I'm talking about the dev_whl step that pushes a ...
0 votes
1 answer
86 views
How to share configuration for custom PyPI indexes?
Is there a way to include configuration with a python package source so that it is able to properly resolve dependencies from private registries using a standard build/install chain? For example, I ...
0 votes
0 answers
95 views
Why does Ray attempt to install ray wheels from ray-wheels.s3-us-west-2.amazonaws.com?
When submitting a Ray job using a conda runtime env (runtime_env = {"conda": "environment.yml"}), Ray attempts to install the ray wheel from ray-wheels.s3-us-west-2.amazonaws.com ...
0 votes
1 answer
55 views
Get the real python package names [duplicate]
How can I get Pypi package name with the name uses in import? for example: import allauth But its name in Pypi is django-allauth and this name must be used to install with pip. I don't want to use ...
1 vote
1 answer
117 views
Image size inconsistency between GitHub and PyPI in README.md
I created some simple console games in Python(Oyna Project) and took screenshots of each game to showcase them in the README.md file. I wanted to display these images in a table format both on GitHub ...
0 votes
1 answer
37 views
Is it possible to automatically regenerate auth token for PyPi?
I have a CI-CD pipeline which builds and release a Python package into PyPi. An auth token is used for this and I have a new requirement to rotate/regenerate this token relatively regularly, maybe ...
-1 votes
1 answer
201 views
How does one get pypi package metadata for an uninstalled package - preferably in JSON?
pip show doesn't work for packages that aren't installed and does not output in JSON. Is there a way to make it do so? pip show django WARNING: Package(s) not found: django Is there any way of ...
0 votes
0 answers
29 views
Using hunter to trace test calls misses certain invocations — how to capture more complete code dependencies?
I’m working on a project with the following goal: extract a self-contained set of Python modules and their corresponding test cases from a PyPI package, so that this extracted code (plus tests) can ...