Skip to content

Conversation

clefourrier
Copy link
Member

@clefourrier clefourrier commented Feb 27, 2024

We need this (or a lower bound instead) to allow compatibility between lighteval and the gradio leaderboard template spaces

NathanHB
NathanHB previously approved these changes Feb 28, 2024
Copy link
Member

@NathanHB NathanHB left a comment

Choose a reason for hiding this comment

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

Might need to update the github action as well

@NathanHB NathanHB dismissed their stale review February 28, 2024 12:04

is the CI working with the new version ?

@clefourrier
Copy link
Member Author

Will update the CI!

run: |
python -m pip install --upgrade pip
python -m pip install ruff==v0.1.2
python setup.py egg_info
Copy link
Member Author

@clefourrier clefourrier Feb 28, 2024

Choose a reason for hiding this comment

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

This new mechanism

  1. builds a requirement.txt file from the pytoml
  2. extracts the mandatory requirements (optional reqs make the file buggy)
  3. installs ruff using the version in the mandatory requirements, that way we no longer need to update this file when we change the pytoml, it will move on the go :)

Copy link
Member Author

Choose a reason for hiding this comment

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

(-c = constraint file in pip)

@clefourrier clefourrier requested a review from NathanHB February 28, 2024 18:01
@clefourrier clefourrier merged commit 030945b into main Feb 29, 2024
hynky1999 pushed a commit that referenced this pull request May 22, 2025
We need this (or a lower bound instead) to allow compatibility between lighteval and the gradio leaderboard template spaces
NathanHB pushed a commit that referenced this pull request Sep 19, 2025
We need this (or a lower bound instead) to allow compatibility between lighteval and the gradio leaderboard template spaces
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