- Determine version based on pandas version tested (a.b.c) and date yymmdd, to make version string a.b.c.yymmdd
- Update
pyproject.toml
andpandas-stubs/_version.pyi
to have the new version string - Execute the following commands:
rm dist/*
poetry build
twine upload dist/* # Requires having the pypi API token allowing uploads
git commit -a -m "Version a.b.c.yymmdd"
git push upstream main
git tag va.b.c.yymmdd
git push upstream --tags
The conda bots will recognize that a new version has been uploaded to pypi, and generate a pull request sent to the maintainers to approve it.