python-social-auth backend for mitxpro
Project description
social-auth-mitxpro
Prerequisites
pyenv
for managing python versions- Install
python3.8
andpython3.11
- Install
pip install tox tox-pyenv
for running tests and discovering python versions frompyenv
poetry
for 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/legacy
poetry 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 --help
for details)poetry publish -r testpypi
- publish to testpypipoetry publish
- publish to pypi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
File details
Details for the file
social_auth_mitxpro-0.6.4.tar.gz
.File metadata
File hashes
36e688adc7321c7ddfb7b879811eb064d865298f502495402347f0f0df7f17c1
532f5b193d192391bfe61405d7681240
30559c494d6bbaf7fe07fc698539cef3b707d8f5d9f75835d33d555885a2c532
See more details on using hashes here.