Skip to content

Convert from setuptools to Poetry #124

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

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

prehensilecode
Copy link

Address #122

  • convert build system to Poetry
    • removed setup.py
    • removed requirements.txt and dev_requirements.txt
  • set minimum Python version to 3.9 (oldest supported as of 2025-05-07)
    • this was partly forced by dependency updates needed to pass safety scan
  • added dev requirements to the pyproject.toml needed to allow local
    running of all tests
  • updated test_and_lint workflow
    • to use poetry to run
    • to run only in the delorean directory
  • updated Makefile to run tests that are run in the test_and_lint workflow
  • separated out safety scan (formerly safety check) to safety_scan workflow
  • removed pyupgrade from test_and_lint workflow as it should be a pre-commit hook
  • updated a couple of doctests due to change in babel output for en and de encoding
    • en uses thin space "\u202f" before the "PM" in the time
    • de does not show "um" between year and time
  • updated .gitignore with standard Python and JetBrains gitignores
  • NOTE poetry will normalize package name to all lowercase; see Case sensitivity of project names when publishing to PyPI python-poetry/poetry#1202

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.

1 participant