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

Fix packaging of the tests directory #1215

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

WOnder93
Copy link
Contributor

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

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 atlassian-api#1206

Signed-off-by: Ondrej Mosnáček <[email protected]>
@gonchik
Copy link
Member

gonchik commented Aug 16, 2023

@WOnder93 thanks

@gonchik gonchik merged commit bad2d28 into atlassian-api:master Aug 16, 2023
8 checks passed
@darthwalsh
Copy link

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

@WOnder93 WOnder93 deleted the fix-tests branch January 16, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests/mockup.py missing from the PyPi source tarball
3 participants