social-auth-mitxpro
Prerequisites
pyenvfor managing python versions- Install
python3.8andpython3.11
- Install
pip install tox tox-pyenvfor running tests and discovering python versions frompyenvpoetryfor building, testing, and releasing
If this is your first time using poetry, you'll need to configure your pypi credentials via:
- Configure pypi repository:
poetry config http-basic.pypi USERNAME PASSWORD
- Configure testpypi repository:
poetry config repositories.testpypi https://test.pypi.org/legacypoetry config http-basic.testpypi USERNAME PASSWORD
NOTE: when running poetry commands, particularly pylint and black, you must python3.6
Testing
You can just run tox locally to test, lint, and check formatting in the supported python versions. This works by having tox manage the virtualenvs, which poetry then detects and uses.
Run individual commands can be run interactively in a poetry shell session or directly via poetry run CMD:
pytest- run python testsruff check- lint python coderuff format- format python code
Building
poetry build- builds a pip-installable package intodist/
Releasing
poetry version VERSION- bump the project version (seepoetry version --helpfor details)poetry publish -r testpypi- publish to testpypipoetry publish- publish to pypi
Release files for social-auth-mitxpro 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| social_auth_mitxpro-0.7.1.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| social_auth_mitxpro-0.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:10.5 kB
Release files / social_auth_mitxpro-0.7.1.tar.gz
How to use checksums
ba61e9babb0d40a458c222486d501a2bc5d5862b9748097cc0fb449271414c81How to use checksums
8219510d52599fd7961a706ca8fceb787cc7a80066cd5a68c59bd91ffd0c5851What is trusted publishing?
twine/5.1.1 CPython/3.12.4