-
Notifications
You must be signed in to change notification settings - Fork 17
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
Drop support for Python versions older than 3.11 #401
Merged
leandro-lucarella-frequenz
merged 6 commits into
frequenz-floss:v0.x.x
from
llucax:py311
May 23, 2023
Merged
Drop support for Python versions older than 3.11 #401
leandro-lucarella-frequenz
merged 6 commits into
frequenz-floss:v0.x.x
from
llucax:py311
May 23, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Marenz
previously approved these changes
May 23, 2023
6cde981
to
51f1760
Compare
Test were failing, now they should be fixed, so this needs one more approval. Enabled auto-merge. |
Signed-off-by: Leandro Lucarella <[email protected]>
Also remove version-specific classifiers in `pyproject.toml` as we are already specifying the supported Python versions in `requires-python`. Signed-off-by: Leandro Lucarella <[email protected]>
We now also make the Sample3Phase.map() method more generic, to return the same type as self. Signed-off-by: Leandro Lucarella <[email protected]>
The Sample object implemented comparisons by only comparing timestamps. This was only done to cope with a limitation of `bisect()` before Python 3.10 (where no key argument could be passed). Now that we are using Python 3.11 as the minimal version, we can remove that hack and make Samples compare using both the datetime and the value as one would expect. Signed-off-by: Leandro Lucarella <[email protected]>
Signed-off-by: Leandro Lucarella <[email protected]>
Signed-off-by: Leandro Lucarella <[email protected]>
51f1760
to
b21841d
Compare
Marenz
approved these changes
May 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
part:data-pipeline
Affects the data pipeline
part:docs
Affects the documentation
part:tooling
Affects the development tooling (CI, deployment, dependency management, etc.)
type:tech-debt
Improves the project without visible changes for users
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
pyproject.toml
usingtaplo
Fixes #148, fixes #399.