Packages distributed on PyPi don't have tests
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Question
After examining the tarballs from PyPi for packages that use poetry none of them had their tests distributed.
Because of this occurrence I was wondering if that behavior was being enforced somehow here.
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Using TestPyPI - Python Packaging User Guide
Because TestPyPI has a separate database from the live PyPI, you'll need a separate user account specifically for TestPyPI. Go to https://test.pypi.org/account/ ...
Read more >Including unit tests in (test.)pypi package - Stack Overflow
I have a set of unit tests in my package which run nicely during my development workflow, and automatically when I push to...
Read more >Help - PyPI
How do I package and publish my code for PyPI? For full instructions on configuring, packaging and distributing your Python project, refer to...
Read more >Publishing your Python packages on TestPyPi before ...
If you're just creating a package for learning purposes, there's no need (IMO) to pollute the official PyPi index with it.
Read more >Packaging and Distributing Your Python Project to PyPI for ...
When the package has the __init__.py file, the package can be imported ... The difference is using the package installed from Test PyPI...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Packages for Gentoo Linux also support a dedicated testing phase for the exact reasons @worldofpeace mentioned above.
@sdispater certain distributions of Linux, specifically Debian is the main one I am aware of, require that they build debian package using the source tarball, and having tests in that source tarball allows them to run tests to verify the package was installed successfully.
The complaint here isn’t for projects using
poetrybut thatpoetryitself does not ship a source tarball with tests and thus it is harder to package.