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

Refresh tox config #51

Merged
merged 4 commits into from
Feb 19, 2024
Merged

Refresh tox config #51

merged 4 commits into from
Feb 19, 2024

Conversation

jaraco
Copy link
Collaborator

@jaraco jaraco commented Feb 18, 2024

  • Remove pippy and instead rely on pip with its modern caching support.
  • Remove legacy constructs from tox.ini.
  • Remove specific pypy version
  • Allow tests to be run without any special environment factor.

Refreshes the tox config to work with modern versions of tox and simplifies the implementation to more readily allow for simple workflows.

Closes #49

Verified

This commit was signed with the committer’s verified signature.
jaraco Jason R. Coombs

Verified

This commit was signed with the committer’s verified signature.
jaraco Jason R. Coombs
{homedir} is no longer a viable substitution, and shouldn't be, as tests shouldn't be creating content outside the project dir.

Removed 'whitelist_externals', now called 'allowlist_externals', but is no longer necessary as 'manage' is supplied by a dependency and allowed.

Removed distribute=False, which is probably from the distribute days.

Verified

This commit was signed with the committer’s verified signature.
jaraco Jason R. Coombs

Verified

This commit was signed with the committer’s verified signature.
jaraco Jason R. Coombs
This approach allows the default "commands" to be to run tests, also implying that "test" doesn't have to be present in the environment name, so simply running `tox -e py` will run the tests.
@jaraco jaraco merged commit fc08323 into reubano:master Feb 19, 2024
@jaraco jaraco deleted the bugfix/49-refresh-tests branch February 19, 2024 07:07
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.

tox fails with pippy is not allowed
1 participant