Skip to content

Defaulting to running Python version if project .python-version is missing#147

Merged
kraktus merged 2 commits intolichess-org:masterfrom
JAMoreno-Larios:integration_test_script_fix
Dec 2, 2025
Merged

Defaulting to running Python version if project .python-version is missing#147
kraktus merged 2 commits intolichess-org:masterfrom
JAMoreno-Larios:integration_test_script_fix

Conversation

@JAMoreno-Larios
Copy link
Copy Markdown
Contributor

I was having issues running the integration test on my repo. After checking the backtrace, I found out that local.py could not build the Docker image if .python-version is missing since MY_UV_VERSION is set to None.

I address this issue by sourcing the Python version running the script.

Checklist when adding a new endpoint
  • Added new endpoint to the README.md
  • Ensured that my endpoint name does not repeat the name of the client. Wrong: client.users.get_user(), Correct: client.users.get()
  • Typed the returned JSON using TypedDicts in berserk/types/, example
  • Written tests for GET endpoints not requiring authentification. Documentation, example
  • Added the endpoint and your name to CHANGELOG.md in the To be released section (to be created if necessary)

@kraktus kraktus merged commit 95386fa into lichess-org:master Dec 2, 2025
31 of 36 checks passed
@kraktus
Copy link
Copy Markdown
Member

kraktus commented Dec 2, 2025

thanks!

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