-
Notifications
You must be signed in to change notification settings - Fork 35
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 the package a bit #248
Conversation
@huard I also want to implement linting with ruff but I'll leave that for another PR. For now, we still cannot publish on PyPI b/c someone with admin rights to this repo needs to add the PyPI token to the repo secrets. |
Ok, give me 5 minutes, I'll get the token. |
Done, there is now a |
Co-authored-by: David Huard <[email protected]>
I find testpypi an overkill. Hopefully we test the tarball enough in our CIs to upload directly to PyPI. PS: if you want to tag a new release after this PR is merged we can test the autopublish. |
Thanks ! |
* udpate PyPI GHA * remove setuptools_scm_git_archive * bump to 3.8 b/c that's what is used as min * update and add config * fix identation * run pre-commit * move some configs to pyproject.toml * move setup.py to pyproject.toml * don't use main * fix typo * let's rely only on the version file * tweak for a smaller sdist * fix license * list tests * don't list esmpy * no numba on py311 * drop py37 from the CIS * py38 as min * run pre-commit * Update .github/workflows/pypi.yaml Co-authored-by: David Huard <[email protected]> --------- Co-authored-by: David Huard <[email protected]>
In this PR: