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

Modernize packaging and CI (pyproject.toml, Tox, GHA) #41

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

bittner
Copy link
Owner

@bittner bittner commented Jun 18, 2024

Adds:

  1. modern packaging setup with pyproject.toml file (replacing setup.py and setup.cfg)
  2. Tox configuration for running checks, tests and packaging, anywhere
  3. an initial test setup and a first, minimal test
  4. a GitHub Actions CI setup in the .github folder (replacing .travis.yml)
  5. instructions on running checks and tests (README)

Updates the build badge at the top of the project README.

Closes #40

@bittner bittner self-assigned this Jun 18, 2024
@bittner bittner force-pushed the feature/pyproject-toml-tox-gha branch 7 times, most recently from 331c072 to aedbfa9 Compare June 18, 2024 22:36
@bittner bittner force-pushed the feature/pyproject-toml-tox-gha branch from aedbfa9 to b3ddb01 Compare June 18, 2024 22:50
@bittner
Copy link
Owner Author

bittner commented Jun 18, 2024

The tests in this PR work for Python 3.10 through 3.12; for Python 3.9 and below the importlib module in test_staticfiles() is a bit unhappy.

What still needs to be added for the tests to be actually useful are tests with Django templates.

@bittner bittner merged commit e17bea9 into main Jun 18, 2024
6 checks passed
@bittner bittner deleted the feature/pyproject-toml-tox-gha branch June 18, 2024 22:57
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.

Replace Travis CI by GHA in 2024 ™️
1 participant