Comments (13)
via af71d7e: The search has been expanded to include the Framework :: Pytest
classifier
from plugincompat.
http://stackoverflow.com/questions/18338178/how-to-propose-a-new-trove-classifier-on-pypi
from plugincompat.
I suggest "Framework :: Pytest :: Plugin"
from plugincompat.
Thanks for the suggestion!
I like the idea, but I would like to keep the current behavior of considering "pytest-" as plugins, even with some false positives. It also seems very easy to implement.
@hpk42, any comments here?
from plugincompat.
On Fri, Jun 12, 2015 at 12:09 -0700, Jason R. Coombs wrote:
Currently, plugincompat uses a heuristic that plugins are all named with a "pytest-" prefix. However, the plugin API allows any package to advertise itself as a plugin by exposing a suitable entry point. As a result, some projects which have useful plugins aren't included (e.g. backports.unittest_mock or jaraco.mongodb. I guess one could just create a slim wrapper around those in another package called "pytest-backports-unittest-mock" or similar, but that seems messy.
i think that plugincompat could be refined to grep entrypoint information
out of projects, filtering out false positives, no?
holger
Furethermore, some packages like pytest-runner aren't pytest plugins, but appear to be so according to the heuristic.
How about instead considering a technique whereby a project can declare it's "Pytest Plugin-ness" through package metadata? Since entry points aren't readily visible in package metadata, perhaps consider creating a Trove Classifier to authoritatively and cleanly indicate the presence of a pytest plugin?
Reply to this email directly or view it on GitHub:
#16
about me: http://holgerkrekel.net/about-me/
contracting: http://merlinux.eu
from plugincompat.
I should think that locating/downloading the source tarball would be a substantial amount of work than querying the metadata from PyPI. Perhaps PyPI should include the entry points in the advertised metadata. Until it does, I'd recommend using the metadata that is advertised.
from plugincompat.
@jaraco is correct, there's direct support for querying PyPI for classifiers, while trying to parse entrypoints it would have to download the source for all packages.
What you guys think, should I move this forward? Seems like a good idea to me. 😄
from plugincompat.
Seems like a good idea to me, I think it'd be great if you went ahead and applied for it. I wouldn't expect the pypi maintainers to have serious objections.
from plugincompat.
Sure, makes sense to have trove classifier and then advertise it and have it used for all pytest-dev plugins.
from plugincompat.
I definitely like it.
from plugincompat.
I will move this forward then, thanks for the feedback!
from plugincompat.
Created a request for this on the pypa repository, if anyone wants to watch/vote for. 😉
from plugincompat.
oops, thought it was doing this already ... thanks @asottile :)
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
- 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
- Why restricted to sdist? HOT 8
- 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.