Skip to content

Conversation

@akshatvishu
Copy link
Contributor

This PR adds a warning note to the CONTRIBUTING.md file.

The Problem:
The "Environment Setup" guide recommends using Python 3.11, but the .pre-commit-config.yaml file requires Python 3.10 . This causes pre-commit install to fail for new contributors who follow the instructions and only have Python 3.11 .

The Fix:
This note clarifies the discrepancy before the setup instructions. It advises contributors to either ensure python3.10 is also available on their PATH or simply use python=3.10 for their virtual environment to satisfy both requirements.

Hi @TomeHirata , I've pushed the requested changes. Thanks!


Python 3.10 or later is required.

> **Note on Python Versions:** While the setup instructions below recommend Python 3.11 for development, our `pre-commit` hooks (in `.pre-commit-config.yaml`) are configured to use **Python 3.10**.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we change the instruction below to 3.10 instead? We should make sure our package works with the oldest supported version.

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