Skip to content

chore: modernize project tooling#43

Merged
fubuloubu merged 1 commit intomainfrom
chore/modernize-tools-1
Dec 5, 2025
Merged

chore: modernize project tooling#43
fubuloubu merged 1 commit intomainfrom
chore/modernize-tools-1

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

This PR modernizes the project's tooling by migrating to pyproject.toml, updating Python version support and syntax, and switching to modern tools like uv and ruff in the CI/CD pipeline.


PR created automatically by Jules for task 8832561126421220852 started by @fubuloubu

@google-labs-jules
Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

Comment thread pyproject.toml Outdated
[project.entry-points.console_scripts]
tokenlists = "tokenlists._cli:cli"

[project.optional-dependencies]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
[project.optional-dependencies]
[dependency-groups]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

Comment thread pyproject.toml Outdated
"sphinx-ape",
]
dev = [
"tokenlists[test,lint,doc]",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
"tokenlists[test,lint,doc]",
{ include-group = "lint" },
{ include-group = "test" },
{ include-group = "doc" },

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

Comment thread uv.lock Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please do not commit this file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

@fubuloubu fubuloubu changed the title Chore: Modernize project tooling chore: modernize project tooling Dec 5, 2025
@fubuloubu fubuloubu force-pushed the chore/modernize-tools-1 branch from 0c3ce22 to a752398 Compare December 5, 2025 22:44
@fubuloubu fubuloubu marked this pull request as ready for review December 5, 2025 22:44
- Migrate from setup.py to pyproject.toml
- Drop Python 3.9 support and upgrade syntax to use Python 3.10+ type hinting
- Add Python 3.14 support to the test matrix
- Switch to using uv for dependency installation and testing in CI
- Switch to using sphinx-ape for documentation
- Fixed several bugs in test cases
@fubuloubu fubuloubu force-pushed the chore/modernize-tools-1 branch from a752398 to 9f3172e Compare December 5, 2025 22:45
@fubuloubu fubuloubu enabled auto-merge (squash) December 5, 2025 22:45
@fubuloubu fubuloubu disabled auto-merge December 5, 2025 22:49
@fubuloubu fubuloubu merged commit cfa029b into main Dec 5, 2025
39 checks passed
@fubuloubu fubuloubu deleted the chore/modernize-tools-1 branch December 5, 2025 22:49
@fubuloubu fubuloubu mentioned this pull request Dec 5, 2025
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.

1 participant