Comments (9)
The problem we faced is that it was one of our dependencies which did not pin the version. (Causing is some nice deployment fails) We can try and get this changed but it might take some time.
from pytest-runner.
Updating setuptools for py34 will not happen any time soon. I would stick to pytest-runner<5 everywhere until I need to update setuptools for py34 (or until devops does the upgrade on ubuntu agents). So the workaround is good for us as long as pytest-runner<5 is supported.
from pytest-runner.
That's good, and that's what's expected to happen. You have two options - pin to pytest-runner < 5
or upgrade to setuptools >= 30.4
. I attempted to warn about this in the pytest-runner
4.4 release.
from pytest-runner.
I shouldn't say "that's good". What I mean to say is, that's expected and unfortunate... but I don't see any other way forward.
from pytest-runner.
Ugh. I do see that the changelog was not at all explicit about this change. I can definitely improve that.
from pytest-runner.
I know there are people hurting from this. The more I think about it, the less comfortable I am with this change. Perhaps there's a small shim I could add for compatibility that would allow the rest of these changes to be accepted without breaking all the workflows.
But before I embark on that possibility, can I get some feedback from those this affects - how difficult is it to adapt your work flow to adopt one of the proposed workarounds?
from pytest-runner.
I am experiencing this during a CI build that attempts to install flake8-print (which requires pytest-runner). It is causing my builds to fail.
from pytest-runner.
I'm thinking that pytest-runner should just buck up and supply enough metadata in setup.py that it works on older setuptools versions.
from pytest-runner.
Okay. I believe 5.1 should surgically address the issue. Please let me know if it does not.
from pytest-runner.
Related Issues (20)
- [Py3.3] AttributeError: type object 'test' has no attribute 'install_dists' HOT 6
- Declare Setuptools dependency HOT 4
- Fails to download from pypi.org HOT 4
- setup.py uses obsolete setup_requires HOT 2
- Declarative config breaks installs for old setuptools HOT 9
- Using test=pytest in setup.cfg gives "ModuleNotFoundError: No module named 'ptr'" HOT 2
- extras argument can't be set to False in setup.cfg HOT 1
- Support setup.py test arguments HOT 2
- Using setup_requires(['pytest-runner']) gives pkg_resources.DistributionNotFound: The 'pytest-runner' distribution was not found and is required by the application HOT 6
- setup.py test is going to be deprecated HOT 5
- Please leave PYTHONPATH alone / provide a way to override your code that modifies it HOT 16
- .whl file in pypi.org contains underscore instead of dash HOT 3
- 5.2: test suite is failing HOT 5
- How do I setup pytest-runner correctly HOT 1
- 5.3.1: sphinx 4.0.3 warning HOT 2
- flake8 safety reports error HOT 4
- set development status to inactive 7
- 6.0.0: pytest is failing in two units HOT 10
- Make a new "inactive" release and archive the repository 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 pytest-runner.