Skip to content
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

Refactor Python package metadata #64

Merged
merged 1 commit into from
Apr 27, 2024
Merged

Conversation

Callum027
Copy link
Member

@Callum027 Callum027 commented Apr 27, 2024

  • Replace Poetry with PDM.
  • Rewrite pyproject.toml to make it fully PEP-621 compliant, with some PDM options defined such as development dependencies.
  • Switch to dynamic version management using setuptools-scm.
  • Replace Black with the Ruff formatter.
  • Update Ruff configuration to take into account option changes.
  • Rewrite GitHub Actions workflows to use PDM.
  • Switch the release workflow to getting the PyPI token using GItHub Actions OIDC, instead of passing it in as a repository secret.
  • Publish the source dist and wheels to the GitHub release.
  • Include non-functional changes resulting from the changed pre-commit hooks.

* Replace Poetry with PDM.
* Rewrite `pyproject.toml` to make it fully PEP-621 compliant, with some PDM options defined such as development dependencies.
* Replace Black with the Ruff formatter.
* Update Ruff configuration to take into account option changes.
* Rewrite GitHub Actions workflows to use PDM.
* Switch the release workflow to get the PyPI token using GItHub Actions OIDC, instead of passing it in as a repository secret.
* Publish the source dist and wheels to the GitHub release.
* Include non-functional changes resulting from the changed pre-commit hooks.
@Callum027 Callum027 added enhancement New feature or request pipeline CI pipeline-related issue or pull request labels Apr 27, 2024
@Callum027 Callum027 added this to the v0.7.0 milestone Apr 27, 2024
@Callum027 Callum027 self-assigned this Apr 27, 2024
@Callum027 Callum027 linked an issue Apr 27, 2024 that may be closed by this pull request
@Callum027 Callum027 merged commit 786fdc9 into main Apr 27, 2024
2 checks passed
@Callum027 Callum027 deleted the 55-refactor-package-info branch April 27, 2024 00:30
Callum027 added a commit that referenced this pull request Apr 27, 2024
Additional things missed from #64.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pipeline CI pipeline-related issue or pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace Poetry with PDM
1 participant