Skip to content

Conversation

@zoccoler
Copy link
Contributor

Added setuptools_scm to pyproject.toml for automatic versioning and updated init.py to read version from _version.py, falling back to 'unknown' if unavailable. This improves version consistency and automates version updates.

Added setuptools_scm to pyproject.toml for automatic versioning and updated __init__.py to read version from _version.py, falling back to 'unknown' if unavailable. This improves version consistency and automates version updates.
@zoccoler zoccoler requested a review from jo-mueller July 16, 2025 14:04
@zoccoler
Copy link
Contributor Author

@jo-mueller , can you check if these are all the necessary changes? I copied from clusters-plotter.

@jo-mueller
Copy link
Contributor

jo-mueller commented Jul 16, 2025

@zoccoler From what I see what's missing:

  • untrack _version.py in .gitignore
  • Remove version = attr: biaplotter.__version__ from setup.cfg and replace with dynamic = ["version"] (may have to copy things over to pyproject.toml entirely - see here for example)

zoccoler added 6 commits July 17, 2025 10:14
Moved all project configuration from setup.cfg to pyproject.toml, consolidating metadata, dependencies, entry points, and package data. This modernizes the build configuration and aligns with current Python packaging standards.
Moved project URLs to the [project.urls] section and updated the documentation link. Replaced static package list with setuptools package finder for improved package discovery.
Explicitly allows pytest as an external command in tox to prevent potential execution issues during test runs.
what a game changer!
Wow now I am being bold
@zoccoler
Copy link
Contributor Author

It seems I got it working, thanks!

zoccoler added 3 commits July 17, 2025 10:55
Added a [gh-actions:exclude] section to tox.ini to prevent running tests with Python 3.13 on windows-latest due to known failures (code 3221225477).
Added an exclusion for Python 3.13 on windows-latest in the GitHub Actions test matrix due to known failures (exit code 3221225477).
@zoccoler zoccoler merged commit 45cb174 into BiAPoL:main Jul 17, 2025
12 checks passed
@zoccoler zoccoler deleted the atomated_versions branch July 17, 2025 09:08
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