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

Update with latest changes from python project template #27

Merged

Conversation

ClaasRostock
Copy link
Collaborator

Changed

  • Changed from pip/tox to uv as package manager
  • README.md : Completely rewrote section "Development Setup", introducing uv as package manager.
  • Changed publishing workflow to use OpenID Connect (Trusted Publisher Management) when publishing to PyPI
  • Updated copyright statement
  • VS Code settings: Turned off automatic venv activation
  • Replaced black formatter with ruff formatter

Added

  • Added mypy as static type checker (in addition to pyright)

GitHub workflows

  • (all workflows): Adapted to use uv as package manager
  • _test_future.yml : updated Python version to 3.13.0-alpha - 3.13.0
  • _test_future.yml : updated name of test job to 'test313'

Dependencies

  • Updated to ruff>=0.6.3 (from ruff==0.4.2)
  • Updated to pyright>=1.1.378 (from pyright==1.1.360)
  • Updated to sourcery>=1.22 (from sourcery==1.16)
  • Updated to pytest>=8.3 (from pytest>=8.2)
  • Updated to Sphinx>=8.0 (from Sphinx>=7.3)
  • Updated to sphinx-argparse-cli>=1.17 (from sphinx-argparse-cli>=1.16)
  • Updated to myst-parser>=4.0 (from myst-parser>=3.0)
  • Updated to furo>=2024.8 (from furo>=2024.5)
  • updated to setup-python@v5 (from setup-python@v4)
  • updated to actions-gh-pages@v4 (from actions-gh-pages@v3)
  • updated to upload-artifact@v4 (from upload-artifact@v3)
  • Updated to download-artifact@v4 (from download-artifact@v3)
  • updated to checkout@v4 (from checkout@v3)

@ClaasRostock ClaasRostock self-assigned this Oct 24, 2024
…bers was generated twice and added extension to support Markdown-based diagrams created with Mermaid.
…(non-reusable) workflow. Remove the two reusable workflows _publish_package.yml and _publish_package_test.yml.

Background for this change is a limitation recently introduced on pypi, which does not allow anylonger to run the GitHub action 'pypa/gh-action-pypi-publish' from a reusable workflow. The code hence needed to be moved upwards, from the reusable workflow _publish_package.yml into the (non-reusable) workflow publish_release.yml
See https://github.com/marketplace/actions/pypi-publish -> Note under "Trusted Publishing"
@ClaasRostock ClaasRostock merged commit dd9d2cb into main Nov 11, 2024
13 checks passed
@ClaasRostock ClaasRostock deleted the update_with_latest_changes_from_python_project_template branch November 11, 2024 18:31
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