Be able to specify which version of setuptools has to be used
See original GitHub issue- [x ] I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
I just ran into this bug: https://github.com/tikitu/jsmin/pull/34 Setuptools >=58 removed functionality jsmin relies on. The result is that jsmin can’t be installed and our CI/CD pipeline fails.
My solution was to run the following before a build in out CI: poetry run pip install --upgrade setuptools==57.5.0
To counter this, it would be great if the setuptools version can be specified in the pyproject.toml.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:6 (3 by maintainers)
Top Results From Across the Web
python - Install specific version of setuptools as a dependency ...
To use a specific version of setuptools it is necessary to have it in both locations - in pyproject.toml and at the beginning...
Read more >Specifying Your Project's Version - Setuptools
Following a release number, you can have either a pre-release or post-release tag. Pre-release tags make a version be considered older than the...
Read more >Specifying package version in `setup.py` - Python Help
I'm trying to upload my first package to PyPI. I'm specifying version="0.1.0" in setup.py, and version = 0.1.0 in setup.cfg.
Read more >setuptools 3.7.1 - PyPI
0.7.2. Issue #14: Use markerlib when the parser module is not available. ... Distribute #90: unknown setuptools version can be added in the...
Read more >Getting Started With setuptools and setup.py - PythonHosted.org
Currently (as of November, 2009), setuptools is pretty easy to install for Python version 2.3 through 2.6. Bootstrapping setuptools¶. If you are having...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Big thanks @rvanlaar! Your suggestion works well in a Docker container. I’ve implemented by adding the poetry pip install of setuptools before running
poetry install
Hello,
for poetry <1.2 we have marked
setuptools
as “unsafe” to remove or change because poetry relies on it. We removed the limitation in the current preview release. You can now add setuptools to your pyproject.toml like any other dependency.fin swimmer