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

chore: pin ruff and mypy versions in the lint stage in the CI pipeline #2679

Merged
merged 4 commits into from
Jul 18, 2024

Conversation

fpgmaas
Copy link
Contributor

@fpgmaas fpgmaas commented Jul 16, 2024

Description

Currently, ruff and mypy have their latest versions installed in the CI pipeline, while locally they are fixed to a specific version. This can cause issues, see #2678.

This PR proposes to fix them to their specific version in the pipeline. The alternative I could think of was installing the virtual environment with make develop, but that takes between 4 and 5 minutes, which might be considered a bit too long to wait on linting results.

This PR will have conflicts with #2674, so I'll need to rebase one of these PR's once the other is merged.

Related Issue(s)

Documentation

@github-actions github-actions bot added the binding/python Issues for the Python package label Jul 16, 2024
Copy link

ACTION NEEDED

delta-rs follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

@fpgmaas fpgmaas changed the title chore(ci): Fix ruff and mypy versions in the lint stage in the CI pipeline chore(ci): Pin ruff and mypy versions in the lint stage in the CI pipeline Jul 16, 2024
@fpgmaas fpgmaas changed the title chore(ci): Pin ruff and mypy versions in the lint stage in the CI pipeline chore: Pin ruff and mypy versions in the lint stage in the CI pipeline Jul 16, 2024
@fpgmaas fpgmaas changed the title chore: Pin ruff and mypy versions in the lint stage in the CI pipeline chore: pin ruff and mypy versions in the lint stage in the CI pipeline Jul 16, 2024
@rtyler rtyler enabled auto-merge (squash) July 18, 2024 10:06
@rtyler rtyler merged commit 30bab74 into delta-io:main Jul 18, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/python Issues for the Python package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project should use the same version of ruff in the lint stage of python_build.yml as in pyproject.toml
2 participants