Comments (8)
Hi @wimglenn,
Mostly because we rely on projects having a tox.ini
file, which is only present in sdists.
About mentioning that somewhere on the README it makes sense, would you like to submit a PR? 😁
from plugincompat.
Oh OK - didn't realize this project was actually executing each plugin test suite, but it makes sense.
The OVERVIEW.md
says:
If a plugin doesn't have a tox.ini file, we generate a simple tox.ini which just ensures that the plugin was installed successfully by running pytest --help.
But this is possible with bdist also, isn't it?
You might find more maintainers these days only using sdist if there needs to be extensions compiled..
from plugincompat.
I'm not aware of any pytest plugins which need extensions - are there any?
from plugincompat.
I'm not aware either, and it's beside the point. The scripts look for projects doing CI with a tox.ini and making sdist avail, but it means that there can be some false negatives listed on the website.
from plugincompat.
Oh yeah false negatives have always been a possibility, because some plugins might have complex dependencies (libraries, services, etc). pytest-qt
is an example of that: besides needing PyQt5 or PySide, it also requires an xvfb server running, so plugincompat
can't really test it.
from plugincompat.
@nicoddemus What do you think of giving a tick to a .whl with the correct filename tags ({distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl
) which installs and displays in the pytest --help
correctly? We can of course prefer sdist if available, and fall back to checking bdists...
from plugincompat.
What do you think of giving a tick to a .whl with the correct filename tags ({distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl) which installs and displays in the pytest --help correctly?
Sounds like a good compromise. Would you like to open a PR? Should be simple enough to implement.
I've been thinking how useful those ticks are in reality TBH, because they give too much false negatives... it might be better to just list the plugins and their descriptions, and which Python version they declare to support. I don't know.
from plugincompat.
I began to work on it but there were some little things I was fixing up until it seemed there was so many of these that they should go in separate PR (see #26) so that it doesn't obscure the actual change too much.
But now it seems that travis-ci, as used to execute run.py and post results, is interfering with the PR builder. Could you untangle that so the PR builder is just executing the suite in test_web.py instead?
from plugincompat.
Related Issues (20)
- Use tox in verbose mode HOT 2
- Seems it's broken HOT 4
- Move to pytest-dev organisation HOT 1
- not enough information to fix: "<no output available>" HOT 1
- Allow any package to advertise itself as a plugin HOT 13
- Update script is returning empty results HOT 1
- tox.ini dependencies not being recognized for pytest-mpl HOT 3
- Change column order
- update_index.py fails when plugin doesn't publish any release HOT 1
- Freeze requirements txt HOT 2
- Outdated info HOT 3
- List the tox environments for each package instead of assuming 'py27' and 'py37' exist HOT 1
- Consider just displaying the plugin badge and metadata HOT 1
- pytest-4.6.0: 0 plugins HOT 1
- Try to weed out "Framework :: Pytest" false-positives HOT 3
- Add guide on how to run flask app locally for development HOT 2
- pypi querry in update_index.py is affected by ratelimit changes HOT 1
- Migrate from xmlrpc to PyPIJSON HOT 1
- Retire plugincompat
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 plugincompat.