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

Reference canonical Python version info source in contributor guide #802

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Oct 17, 2024

Python and Python-based tools are used in the development and maintenance of the project. A standardized version of Python is used for these operations. The contributor will need to have this version installed if they want to perform the dependent operations. For this reason, the dependency on Python and the standardized version is documented in the contributor guide.

Poetry is used for Python package dependencies management. Poetry installs dependencies into a virtual environment. For this reason, the Poetry configuration includes a Python version number, which must match the correct version of Python for the project. This configuration is stored in the pyproject.toml file. This is also used as the source of Python versioning information by all other parts of the infrastructure (#799).

In order to avoid the need to maintain an additional copy of that information in the contributor guide, it will be beneficial to instead direct the contributor to obtain the version info from the pyproject.toml file.

Python and Python-based tools are used in the development and maintenance of the project. A standardized version of
Python is used for these operations. The contributor will need to have this version installed if they want to perform
the dependent operations. For this reason, the dependency on Python and the standardized version is documented in the
contributor guide.

Poetry is used for Python package dependencies management. Poetry installs dependencies into a virtual environment. For
this reason, the Poetry configuration includes a Python version number, which must match the correct version of Python
for the project. This configuration is stored in the `pyproject.toml` file. This is also used as the source of Python
versioning information by all other parts of the infrastructure.

In order to avoid the need to maintain an additional copy of that information in the contributor guide, it will be
beneficial to instead direct the contributor to obtain the version info from the `pyproject.toml` file.
@per1234 per1234 added topic: documentation Related to documentation for the project type: enhancement Proposed improvement labels Oct 17, 2024
@per1234 per1234 self-assigned this Oct 17, 2024
@per1234 per1234 merged commit 5d39ec0 into arduino:main Oct 17, 2024
12 checks passed
@per1234 per1234 deleted the document-python-version branch October 17, 2024 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: documentation Related to documentation for the project type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant