Skip to content

Exclude test_project/ and */tests/ from pip package - #48

Open
atodorov wants to merge 1 commit into
masterfrom
dont_package_test_project
Open

Exclude test_project/ and */tests/ from pip package#48
atodorov wants to merge 1 commit into
masterfrom
dont_package_test_project

Conversation

@atodorov

Copy link
Copy Markdown
Collaborator

The test_project/ package gets installed as part of django-vinaigrette's latest version and I happen to have another test_project/ locally in my git checkout.

The test_project/ that gets installed under site-packages confuses my test setup due to it being imported first and because there's a code snippet which isn't compatible with Django 4. Namely from django.conf.urls import url.
Logs: https://github.com/kiwitcms/github-app/runs/7357182169?check_suite_focus=true

This PR excludes everything which is related to testing from the actual pip package.

Please consider cutting a new version.

atodorov added a commit to kiwitcms/github-app that referenced this pull request Jul 15, 2022
atodorov added a commit to kiwitcms/github-app that referenced this pull request Jul 15, 2022
atodorov added a commit to kiwitcms/github-app that referenced this pull request Jul 15, 2022
@atodorov

atodorov commented Sep 2, 2022

Copy link
Copy Markdown
Collaborator Author

Can anyone please review? I am willing to make another PR for version & changelog updates if you're willing to tag a new version and push it to PyPI. Thanks!

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