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

Stop tests from being bundled with package #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

finlaysawyer
Copy link

Currently pynamodb-attributes is bundling its test suite into site-packages, which causes problems with build tooling such as Bazel where it's treating tests as a third party import and conflicting with our own test suite.

(venv) ➜  /tmp ls -l ./venv/lib/python3.12/site-packages/
total 72
...
drwxr-xr-x  19 finlaysawyer  wheel    608 Sep 18 18:07 pynamodb
drwxr-xr-x   8 finlaysawyer  wheel    256 Sep 18 18:07 pynamodb-6.0.1.dist-info
drwxr-xr-x  17 finlaysawyer  wheel    544 Sep 18 18:07 pynamodb_attributes
drwxr-xr-x   9 finlaysawyer  wheel    288 Sep 18 18:07 pynamodb_attributes-0.5.0.dist-info
drwxr-xr-x  19 finlaysawyer  wheel    608 Sep 18 18:07 tests <--------

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.

1 participant