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

Pin and test Poetry version #6

Merged
merged 1 commit into from
Oct 23, 2021
Merged

Pin and test Poetry version #6

merged 1 commit into from
Oct 23, 2021

Commits on Oct 21, 2021

  1. Pin and test Poetry version

    Poetry has introduced a number of problematic changes recently. To help
    buffer against these problematic changes, this commit will implement
    installation and testing of specific versions of Poetry, rather than the
    latest version.
    
    The following steps will be taken to install Poetry and verify that the
    correct version is installed:
    
    1. Set the `PIPX_VERSION` and `POETRY_VERSION` environment variables,
       which will be used to install specific versions of each package
    2. Install `pipx` with `pip`, for the appropriate version of Python:
       `pipx` is included by default in the GitHub Actions virtual
       environment, but only for the default Python version, not necessarily
       the version installed by actions/setup-python
    3. Install Poetry with `pipx`, instead of the get-poetry.py or
       install-poetry.py install scripts
    4. Run a shell test to assert that the Poetry version returned by the
       `poetry -V` command matches `POETRY_VERSION`
    br3ndonland committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    ed7c8d2 View commit details
    Browse the repository at this point in the history