-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check manifest #2051
Check manifest #2051
Conversation
recursive-include bench *.py | ||
recursive-include extra *.py | ||
|
||
graft testing | ||
graft doc | ||
prune doc/en/_build | ||
|
||
exclude _pytest/impl | ||
|
||
graft _pytest/vendored_packages | ||
|
||
recursive-exclude * *.pyc *.pyo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about the recursive-excludes added in https://github.com/pytest-dev/pytest/pull/1901/files#diff-97c91a104c431d0c365565d3ac03ac13R24 - should we add them here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh good catch, thanks! Updated.
looks good to me to remove the old scripts. We are missing an easy way to test a new pytest release against released versions of some plugins, don't we? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well done - i like the alterations
That sounds neat. I've been using devpi-cloud-tester for some time to test releases, it would be simple to just add a bunch of selected pytest plugins to test them together with releases.
|
there is one prooblem with this PR: the "check-manifest" call depends on version control and "devpi test" only installs the packages and does not have .hg/.git etc. directories. so linting fails with "devpi test". It seems |
Oh you're right. Hmm how about moving the command to a separate env, |
On Fri, Nov 11, 2016 at 07:08 -0800, Bruno Oliveira wrote:
probably works, feels a bit like a workaround. A more direct workaround might be to call a script a script which calls check-manifest only if there is a .git dir and otherwise prints a "no .git directory found, skipping checking the manifest file" or so. |
I like your plan better. 😁 I will open a PR later. |
Related to comment in pytest-dev#2051
Related to comment in pytest-dev#2051
Related to comment in pytest-dev#2051
Uses
check-manifest
to ensure ourMANIFEST.in
is in top-shape.@hpk42, I removed some scripts from the root which don't seem to be used anymore, would love if you can take a quick look and give your opinion.
@The-Compiler if you could take a look as well it would be super.
Fixes #1907