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

Cleanup namespace handling in tests #100

Merged
merged 3 commits into from
May 1, 2024
Merged

Cleanup namespace handling in tests #100

merged 3 commits into from
May 1, 2024

Conversation

cdent
Copy link
Collaborator

@cdent cdent commented Apr 30, 2024

When we did a lot of recent Python2-isms cleanup recently it broke some tests when run in an environment where a previous version of paste, or one of the consumers of its namespace package, were already installed.

This was probably done to quiet warnings. However, it hides issues with complex environments.

In addition to fixing the problem, this change adds a tox test environment that should cause a failure if we introduce the error again.

Fixes #99

When we did a lot of recent Python2-isms cleanup recently
it broke some tests when run in an environment where a
previous version of paste, or one of the consumers of its
namespace package, were already installed.

This was probably done to quiet warnings. However, it
hides issues with complex environments.

In addition to fixing the problem, this change adds a
tox test environment that should cause a failure if
we introduce the error again.

Fixes #99
MANIFEST.in Show resolved Hide resolved
@cdent cdent merged commit 13dc956 into master May 1, 2024
14 checks passed
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.

3.10.0: Testing fails with some other Python module installed
2 participants