-
Notifications
You must be signed in to change notification settings - Fork 475
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
Default format of dimensionless Unit: undocumented change in 0.24 #2007
Comments
@hgrecco would it be worth releasing a 0.24.1 formats dimensionless as dimensionless for these format specs? |
Yes! And also to address #2009 |
khaeru
added a commit
to iiasa/ixmp
that referenced
this issue
Jun 17, 2024
khaeru
added a commit
to iiasa/ixmp
that referenced
this issue
Jun 17, 2024
khaeru
added a commit
to iiasa/ixmp
that referenced
this issue
Jun 17, 2024
khaeru
added a commit
to iiasa/ixmp
that referenced
this issue
Jun 17, 2024
khaeru
added a commit
to iiasa/message-ix-models
that referenced
this issue
Jun 17, 2024
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following:
With pint 0.23:
'dimensionless'
.f"{q.units:D}"
, the output is'dimensionless'
.f"{q.units:~}"
, the output is''
.With pint 0.24:
''
.'dimensionless'
as output.This change is not mentioned in the change log, and there was not a PendingDeprecationWarning or FutureWarning to indicate this behaviour would change with 0.24.
The text was updated successfully, but these errors were encountered: