Skip to content

Pin Ruff & Ty version#59

Open
Yannicked wants to merge 3 commits intoiterorganization:developfrom
Yannicked:feature/pin-ruff-ty
Open

Pin Ruff & Ty version#59
Yannicked wants to merge 3 commits intoiterorganization:developfrom
Yannicked:feature/pin-ruff-ty

Conversation

@Yannicked
Copy link
Copy Markdown
Collaborator

Pin ruff and ty versions. This resolves the current issues in the develop branch and prevents similar dependency-related regressions going forward

pyproject.toml Outdated
"pytest-cov>=5.0.0",
"ruff>=0.15.0",
"ty>=0.0.13",
"ruff==0.15.7",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ruff should be stable within minor releases, so maybe you'd want this instead?

Suggested change
"ruff==0.15.7",
"ruff~=0.15.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need to be this precise? I ask since the version of ruff that comes packaged with EB 2025b toolchains is 0.14.3. (But maybe this is only ever used as part of a developer's venv and it's not an issue for central installations).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Ruff will only be installed as part of the dev dependency group, so this shouldn't be an issue for central installations

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.

3 participants