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

move jobs to pyproject.toml using poethepoet #1161

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

shapiromatron
Copy link
Owner

@shapiromatron shapiromatron commented Jan 25, 2025

This package removes the Makefile and make.bat files to run routine tasks and instead uses poethepoet which specifies tasks in pyproject.toml. In the future, its likely that we can switch to use uv and remove this additional dependency, but this switch should make that easier in the future.

To call tasks, instead of running make test, you'd run poe test. The command poe shows all available tasks.

I also updated the github actions to use uv and poe.

I added two new tasks:

  • run-py: start the django runserver
  • run-js: start the npm webserver

And removed two tasks, make dev, test-refresh.

This allows us to maintain a single set of tests that work on all operating systems.

@shapiromatron shapiromatron marked this pull request as ready for review January 25, 2025 19:04
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 participants