Skip to content

User Guide: Explain how the version of poetry and python is retrieved #705

@ckunki

Description

@ckunki

The GitHub workflows generated by the PTB contain versions of Poetry and Python for step exasol/python-toolbox/.github/actions/python-environment in some jobs.

PTB enables individual projects to configure specific versions of Poetry and Python.

So if the PTB's default version were Python 3.9, but your project had a minimum of Python 3.10, then you don't need to wait for the PTB to upgrade but can override the PTB's default in your project.

Details

  • PTB retrieves the Python version from the minimum python version defined in file pyproject.toml
  • PTB defines a default for the Poetry version.
    • An individual project can override it in file noxconfig.py.
      dependency_manager=DependencyManager(name="poetry", version="2.3.0"),

Proposed Changes

  • Rename page title "Enabling GitHub Workflows" to "GitHub Workflow Templates" in file features/github_workflows/index

Metadata

Metadata

Assignees

Labels

documentationUser guides, tutorials, specifications

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions