Skip to content

Conversation

aMahanna
Copy link
Member

@aMahanna aMahanna commented Jun 13, 2022

What's new

  • Re-introduces the auto-versioning mechanic provided by setuptools-scm via pyproject.toml (instead of setup.py)

Some notes:

  • Usage of setuptools-scm via setup.py has been deprecated in favour of pyproject.toml
  • arango/version.py has been deleted & reintroduced to the .gitignore file
aMahanna added 4 commits June 13, 2022 19:37
Package import statements defer between Python < 3.8 and Python >= 3.8
This is probably the cleanest option, at the cost of silencing this warning repo-wide. Issue: python/mypy#8823
@aMahanna
Copy link
Member Author

aMahanna commented Jun 15, 2022

Currently trying to replace importlib-metadata with pkg_resources, but encountering mypy-related issues locally

@arangodb arangodb deleted a comment from codecov-commenter Jun 16, 2022
Copy link
Contributor

@joowani joowani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this.

@joowani joowani changed the title setuptools-scm without setup.py Re-introduce setuptools-scm with correct usage Jun 17, 2022
@joowani joowani merged commit 21c9e5d into main Jun 17, 2022
@joowani joowani deleted the feature/setuptools-scm-fix branch June 17, 2022 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants