Skip to content

Comments

Centralize Versioning#195

Closed
Grochocinski wants to merge 1 commit intodevelopmentfrom
feature_dynamic_versioning
Closed

Centralize Versioning#195
Grochocinski wants to merge 1 commit intodevelopmentfrom
feature_dynamic_versioning

Conversation

@Grochocinski
Copy link
Collaborator

Changelog

  • Centralizes versioning in a single _version.py file (fixes Centralize Versioning #194)
    • pyproject.toml uses setuptools' dynamic attributes to load the version
    • conf.py imports versioning and will now automatically use the current year for copyright
    • The CITATION.cff is yaml-based and thus doesn't support any dynamic elements, so the new sync_citation_version.py script rewrites the citation with current version
  • Import __version__ into the main SimOpt package so it can easily be queried

@Grochocinski Grochocinski self-assigned this Nov 14, 2025
@Grochocinski Grochocinski changed the base branch from master to development November 15, 2025 00:49
@Grochocinski Grochocinski force-pushed the feature_dynamic_versioning branch from 3d7bb87 to 0fdca54 Compare November 15, 2025 00:50
@Grochocinski
Copy link
Collaborator Author

Grochocinski commented Nov 15, 2025

switched to merging into development (and rebased accordingly) since we didn't utilize this for v2.0.0post1 as proposed

@cenwangumass cenwangumass deleted the branch development November 25, 2025 03:44
@cenwangumass cenwangumass reopened this Nov 25, 2025
@Grochocinski Grochocinski marked this pull request as draft November 26, 2025 18:54
@Grochocinski Grochocinski changed the base branch from development to master November 26, 2025 20:07
@Grochocinski Grochocinski changed the base branch from master to development November 26, 2025 20:11
@Grochocinski
Copy link
Collaborator Author

I had accidentally switched the base branch of this PR to master instead of switching the Relax Dependency PR, reverted this base branch to dev

@Grochocinski Grochocinski force-pushed the feature_dynamic_versioning branch from 0fdca54 to 493c5aa Compare November 26, 2025 20:18
@Grochocinski
Copy link
Collaborator Author

rebased/force-pushed again since version bumps in development had caused some merge conflicts

@Grochocinski Grochocinski marked this pull request as ready for review November 26, 2025 20:19
@cenwangumass
Copy link
Collaborator

This seems very complex for a simple task. Going with sed for now.

@cenwangumass cenwangumass removed their request for review December 4, 2025 16:00
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.

Centralize Versioning

2 participants