Skip to content

Switch to pyproject.toml #50

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

Merged
merged 17 commits into from
Jul 5, 2022
Merged

Conversation

tekktrik
Copy link
Member

@tekktrik tekktrik commented Jun 24, 2022

Got everything working for switching everything over to pyproject.toml, and even tested in on Test PyPI! Here's the changes it now requires than what's done currently:

  • cookiecutter will need to template the description into the associated pyproject.toml, in addition to the other items that were already being templated. But other than name, description, keywords, and dependencies and whether it's a package/module, everything else is static!
  • Build and publish process changes (can be made to workflows):
python - m pip install build, twine
python -m build
twine check dist/*
twine upload dist/*

Everything else is good!

@tekktrik tekktrik requested a review from kattni June 24, 2022 04:19
@tekktrik
Copy link
Member Author

Also includes changes to workflows, which are in this PR

@tekktrik
Copy link
Member Author

A few hiccups getting it to work via CI - a classic case of "it works on my machine" 😆

@tekktrik tekktrik marked this pull request as ready for review June 28, 2022 03:04
@kattni kattni merged commit 0dd848b into adafruit:main Jul 5, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 7, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_BME680 to 3.4.6 from 3.4.5:
  > Merge pull request adafruit/Adafruit_CircuitPython_BME680#50 from tekktrik/dev/use-pyproject-toml

Updating https://github.com/adafruit/Adafruit_CircuitPython_INA219 to 3.4.15 from 3.4.14:
  > Merge pull request adafruit/Adafruit_CircuitPython_INA219#32 from tekktrik/dev/use-pyproject-toml

Updating https://github.com/adafruit/Adafruit_CircuitPython_RFM9x to 2.2.8 from 2.2.7:
  > Merge pull request adafruit/Adafruit_CircuitPython_RFM9x#78 from tekktrik/dev/use-pyproject-toml

Updating https://github.com/adafruit/Adafruit_CircuitPython_SHT31D to 2.3.13 from 2.3.12:
  > Merge pull request adafruit/Adafruit_CircuitPython_SHT31D#28 from tekktrik/dev/use-pyproject-toml

Updating https://github.com/adafruit/Adafruit_CircuitPython_VEML7700 to 1.1.13 from 1.1.12:
  > Merge pull request adafruit/Adafruit_CircuitPython_VEML7700#21 from tekktrik/dev/use-pyproject-toml
@tekktrik tekktrik deleted the dev/use-pyproject-toml branch January 15, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants