Skip to content
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

The sdist is missing tox.ini #928

Closed
mtelka opened this issue Nov 18, 2022 · 4 comments
Closed

The sdist is missing tox.ini #928

mtelka opened this issue Nov 18, 2022 · 4 comments

Comments

@mtelka
Copy link

mtelka commented Nov 18, 2022

The sdist at PyPI is missing both tox.ini and requirements-tests.txt files. Please add them to sdist to make the downstream testing easier. Thanks.

@BoboTiG
Copy link
Collaborator

BoboTiG commented Nov 18, 2022

I would be glad to merge a PR :)

@mtelka
Copy link
Author

mtelka commented Nov 18, 2022

Honestly, I do not know how this should be fixed because:

$ git clone https://github.com/gorakhargosh/watchdog.git
...
$ cd watchdog
$ git reset --hard v2.1.9
HEAD is now at 4cbf15c Release 2.1.9
$ python -m build --sdist --no-isolation
...
$ tar tvf dist/watchdog-2.1.9.tar.gz | egrep 'tox\.ini|requirements-tests\.txt' | wc -l
2
$

So maybe you should just upgrade your tools? I tested the above with Python 3.9.15 and build 0.9.0.

@BoboTiG
Copy link
Collaborator

BoboTiG commented Nov 19, 2022

@mtelka
Copy link
Author

mtelka commented Nov 19, 2022

Or replace python setup.py sdist here by something more modern? I do not know what would fit better for you, but I think move out of setup.py is the way to go.

OTOH, watchdog is not converted to PEP 517 yet (pyproject.toml file is missing) so probably just MANIFEST.in update is simpler.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants