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

Improve test matrix and build tools #279

Open
3 tasks
zerolab opened this issue Nov 29, 2022 · 5 comments
Open
3 tasks

Improve test matrix and build tools #279

zerolab opened this issue Nov 29, 2022 · 5 comments
Labels
DX Developer eXperience

Comments

@zerolab
Copy link
Member

zerolab commented Nov 29, 2022

  • move to tox for greater control e.g. test against python 3.11 (but exclude Wagtail 2.15)
  • move to flit for build
  • consolidate dev/test requirements
@zerolab zerolab added the DX Developer eXperience label Nov 29, 2022
@dopry
Copy link
Collaborator

dopry commented Nov 30, 2022

should we also consider implementing modernized packaging with pyproject.toml? With metadata per PEP 621 we can specify grouped dependencies. I'm not sure how it would impact the rest of the build and release pipeline. I've been slowly converting all of my personal project to use pyproject.toml with poetry in place of pip for dependency management.

@zerolab
Copy link
Member Author

zerolab commented Nov 30, 2022

yes to pyproject.toml, but flit for the build/release. IMHO poetry is too bloated for this.
wagtail/cookiecutter-wagtail-package#32 for reference

@dopry
Copy link
Collaborator

dopry commented Dec 2, 2022

I only use poetry as a package manager, not a build tool... I continue to use setuptools. I'll have to check flit out after eoy.

@zerolab
Copy link
Member Author

zerolab commented Dec 2, 2022

I found the whole package/publish to PyPi experience so much nicer (and faster) with flit.
However, it doesn't do build steps, so setuptools or others are better for that

@dopry
Copy link
Collaborator

dopry commented Dec 5, 2022

I don't think I need build steps. I pretty much only work on pure python projects... Do that extends to deps that need build steps, like pillow, psycopg, etc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Developer eXperience
Projects
None yet
Development

No branches or pull requests

2 participants