atlassian-api / atlassian-python-api

Atlassian Python REST API wrapper
https://atlassian-python-api.readthedocs.io
Apache License 2.0
1.29k stars 644 forks source link

Fix packaging of the tests directory #1215

Closed WOnder93 closed 10 months ago

WOnder93 commented 10 months ago

Do not install tests as a package, but instead include it only in the source tarball via MANIFEST.in.

I have verified that the resulting tarball installs only the 'atlassian' package into site-packages and that the included files are sufficient to successfully run the tests.

Fixes #1206

gonchik commented 10 months ago

@WOnder93 thanks

darthwalsh commented 8 months ago

Thanks for this fix! We were seeing ModuleNotFoundError: No module named 'tests.helpers' in our pytest project until we installed a newer version.