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

fix: incorrect log line, single source of truth for version number (pyproject.toml) #368

Merged
merged 3 commits into from
Feb 27, 2025

Conversation

5u6r054
Copy link
Contributor

@5u6r054 5u6r054 commented Feb 27, 2025

Version Bump to 1.5.4, version reference to one single source of truth, and fix Version Logging

Description

v1.5.3 had a small issue with logging the version incorrectly, but also had a larger issue with the version reference not being a single source of truth.

previously, to release a new version, one would need to update the version in the pyproject.yaml file, the init.py file, and the release notes.

Now, to release a new version, one only needs to update the version in the pyproject.yaml file.

This version bumps up to 1.5.4, and will correctly log the current and required versions at init.

🟢 Code is up to date! Current: 154 (v1.5.4), Required: 154

or, if not up to date:

🟡 Code is outdated! Current: 153, Required: 154. Please update your code to the latest release!

Changes

  • Update version in pyproject.yaml to 1.5.4
  • Uses a single source of truth for the version in init.py (only set hardcoded version in pyproject.yaml)
  • Improve version logging to show both current and required versions
  • Ensure consistent version reporting across all components

Notes for Reviewers

This is a critical update that must be released before updating subnet hyperparameters.

@5u6r054 5u6r054 self-assigned this Feb 27, 2025
Copy link

PR description is too short and seems to not fulfill PR template, please fill in

1 similar comment
Copy link

PR description is too short and seems to not fulfill PR template, please fill in

Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 32.17%. Comparing base (63e8380) to head (da7a1d9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #368      +/-   ##
==========================================
+ Coverage   32.13%   32.17%   +0.04%     
==========================================
  Files          23       23              
  Lines        1640     1641       +1     
==========================================
+ Hits          527      528       +1     
  Misses       1113     1113              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

PR description is too short and seems to not fulfill PR template, please fill in

@5u6r054 5u6r054 marked this pull request as ready for review February 27, 2025 19:40
hide-on-bush-x
hide-on-bush-x previously approved these changes Feb 27, 2025
Copy link

PR description is too short and seems to not fulfill PR template, please fill in

@5u6r054 5u6r054 changed the title fix: incorrect log line. fix: incorrect log line, single source of truth for version number (pyproject.toml) Feb 27, 2025
@5u6r054 5u6r054 merged commit e9b6968 into main Feb 27, 2025
11 of 12 checks passed
@5u6r054 5u6r054 deleted the fix/bad_log_line branch February 27, 2025 20:11
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