Comments (5)
Thanks for thinking of that.
Turns out it was a recent setuptools: 71.1.0. I just upgraded it and tried again:
$ pip install --upgrade setuptools
Requirement already satisfied: setuptools in ./env/lib/python3.9/site-packages (71.1.0)
Collecting setuptools
Downloading setuptools-72.1.0-py3-none-any.whl.metadata (6.6 kB)
Downloading setuptools-72.1.0-py3-none-any.whl (2.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 2.6 MB/s eta 0:00:00
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 71.1.0
Uninstalling setuptools-71.1.0:
Successfully uninstalled setuptools-71.1.0
Successfully installed setuptools-72.1.0
However, same result.
I created this repo to reproduce it: https://github.com/khink/pip-tools-issue-2118
Apparently the bug only surfaces in combination with these other requirements.
from pip-tools.
Great! OK, so I can confirm that this reproduces here, and it's failing on processing django-geojson
1.2.0, and can be worked around by making the requirement django-geojson>1.2.0
. And also that a plain:
$ pip install django-geojson==1.2.0
fails the same way. It looks like that version depends on an uninstallable version of geojson
.
pip-tools should probably just reject a failed version like this and keep trying others.
from pip-tools.
This is a bug in the project, nothing pip can do about a broken package
from pip-tools.
Hi, first off: thanks for taking the time to look into this!
pip install django-geojson==4.1.0
just works. How can i show the django-geojson maintainers what is wrong?
Edit: The error above seems to indicate it fails in the python setup.py egg_info
step, but the following just works:
git clone [email protected]:makinacorpus/django-geojson.git
cd django-geojson/
git checkout 4.1.0
python3.11 -m venv env
. env/bin/activate
python setup.py egg_info
Not sure how to reproduce the error.
from pip-tools.
I can't reproduce with this info yet, but can you ensure you're using the latest setuptools in the venv with the problem?
from pip-tools.
Related Issues (20)
- [TODO][CI] Add macOS 14 ARM 64 to the matrix
- Research ways to support verifying the PEP 740 digital attestations early
- Output --no-binary and --only-binary options to preserve pip behavior HOT 4
- pip-compile is taking forever for python3.13 HOT 4
- Make it possible to avoid yanked versions of packages in the compiled requirements HOT 2
- Use src-layout instead of flat-layout HOT 4
- pip-sync should respect pip-compile's output_file configuration HOT 1
- pip-compile should not generate a command with --output-file if the output file matches the configuration HOT 2
- Config file discovery doesn't work as intended HOT 1
- Mm
- Consider downstream python version pins when generating requirements.txt HOT 1
- Allow `pip-sync` to remove `pip-tools` when `--python-executable` is specified HOT 5
- Test failure: `pip freeze` no longer protects `setuptools`, `distribute` or `wheel` on Python 3.12+ HOT 7
- Error when supplying an existing file `ModuleNotFoundError: No module named 'setuptools.extern.six'` HOT 2
- Recursive extra dependencies compiles wrong requirements.txt HOT 1
- Create another PyPI release HOT 1
- Resolver error on package version change HOT 5
- `pip-sync --python-executable` evaluates markers for the wrong environment
- Poor interaction between isolated mode and `--python-executable` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pip-tools.