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

Remove upper version requirement on Python #106

Merged
merged 1 commit into from
Sep 2, 2024
Merged

Remove upper version requirement on Python #106

merged 1 commit into from
Sep 2, 2024

Conversation

wojnilowicz
Copy link
Contributor

@wojnilowicz wojnilowicz commented Jul 27, 2024

aw-qt fails to build on Fedora 41, because it requires Python < 3.13 and Fedora uses Python 3.13. It works fine with the latest version of Python though.

This patch is intended to help with Fedora packaging by assuming that aw-qt works on the latest Python instead of requiring the packager to test it manually with every major release of Python.


🚀 This description was created by Ellipsis for commit 37540bc

Summary:

Removed the upper version limit on Python in pyproject.toml to support Python 3.13 and future versions.

Key points:

  • Modified pyproject.toml to remove the upper version limit on Python.
  • Changed python dependency from ^3.8,<3.13 to ^3.8.
  • Ensures compatibility with Python 3.13 and future versions.
  • Helps with Fedora packaging by avoiding manual testing for each Python release.

Generated with ❤️ by ellipsis.dev

aw-qt fails to build on Fedora 41, because it requires Python < 3.13 and Fedora uses Python 3.13.
It works fine with the latest version of Python though.

This patch is intended to help with Fedora packaging by assuming that aw-qt works on the latest Python instead
of requiring the packager to test it manually with every major release of Python.
Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 37540bc in 28 seconds

More details
  • Looked at 14 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_bKxw6cS7bv8oZ3q9


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@@ -13,7 +13,7 @@ packages = [
aw-qt = "aw_qt:main"

[tool.poetry.dependencies]
python = "^3.8,<3.13"
python = "^3.8"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the upper version constraint on Python (<3.13) is a significant change. While it resolves the immediate compatibility issue with Fedora 41, it could lead to unforeseen issues with future Python versions. Consider specifying a more conservative upper limit, like <3.14 or <3.15, to safeguard against potential breaking changes in new Python versions until they can be properly tested.

Suggested change
python = "^3.8"
python = "^3.8,<3.15"

@wojnilowicz
Copy link
Contributor Author

ping

@ErikBjare
Copy link
Member

I'm not sure why the constraint was added in the first place, but I suppose it is possible it is no longer needed. Merging.

@ErikBjare ErikBjare merged commit 43864b2 into ActivityWatch:master Sep 2, 2024
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