Skip to content

Conversation

@2elli
Copy link
Collaborator

@2elli 2elli commented Jan 18, 2025

Wrote up this automated cross-version testing setup with pyenv and tox using some code I already had been using to test xdis locally.

@2elli 2elli closed this Jan 18, 2025
@2elli
Copy link
Collaborator Author

2elli commented Jan 18, 2025

Accidentally made this sorry 😭. Meant to write more and mark as Draft

@rocky
Copy link
Owner

rocky commented Jan 19, 2025

No problem.

This looks interesting! Have you caught any errors or suspicious implementation with this?

One small suggestion for the test_crossversion/Makefile... If you change the comments in the targets from # to #: then using remake which is found in many distributions those comments will appear when one runs remake --tasks.

Here is an example of the output for the xdis project:

$ remake --tasks
ChangeLog            Create a ChangeLog from git via git log and git2cl
all                  Default target - same as "check"
bdist_egg            Create binary egg distribution
bdist_wheel          Create binary wheel distribution
check                Run all tests, exluding those that need pyenv
check-full           All tests including pyenv library tests
check-newer          Run tests across the newer Python versions supported
check-older          Run tests across the older Python versions supported
check-pytest         Run pytest tests
check-rst            Check StructuredText long description formatting
check-short          Run all quick tests
clean                Clean up temporary files and .pyc files
clean_pyc            Remove .pyc files
dist                 Create source (tarball) and wheel distribution
dist-newer           Create newer distributions
dist-older           Create older distributions
distclean            Remove ALL derived files
flake8               Lint program
install              Install package locally without the verbiage
lint                 Style check. Set env var LINT to pyflakes, flake, or flake8
sdist                Create source tarball
unittest             Run pytest tests
verbose-install      Install package locally

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.

2 participants