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

Update poetry version used in CI #237

Merged
merged 2 commits into from
Oct 13, 2023
Merged

Conversation

andrewsomething
Copy link
Member

We specify poetry version 1.6.1 in most places, e.g.:

version: 1.6.1

But it looks like we missed updating it here. This is what is causing dependabot PRs to fail the test step.

  The lock file is not compatible with the current version of Poetry.
  Upgrade Poetry to be able to read the lock file or, alternatively, regenerate the lock file with the `poetry lock` command.

https://github.com/digitalocean/pydo/actions/runs/6500827562/job/17657028618?pr=195

@andrewsomething andrewsomething requested a review from a team October 12, 2023 21:07
bentranter
bentranter previously approved these changes Oct 12, 2023
@andrewsomething
Copy link
Member Author

😕

@andrewsomething
Copy link
Member Author

Seems like the issue was specific to Python 3.7. Removing that from the matrix allows poetry to be successfully installed and the tests to pass. Python 3.7 is no longer supported upstream and ended security support 3 months ago. I think it is safe to drop it from the tests.

https://endoflife.date/python

@andrewsomething andrewsomething merged commit b1967ba into main Oct 13, 2023
4 checks passed
@andrewsomething andrewsomething deleted the poetry-version-tests branch October 13, 2023 21:20
andrewsomething added a commit to digitalocean/openapi that referenced this pull request Oct 16, 2023
Updates the poetry version used in Python client validation to match the one used by pydo itself.

See: digitalocean/pydo#237

Resolves errors like:

```
  The lock file is not compatible with the current version of Poetry.
  Upgrade Poetry to be able to read the lock file or, alternatively, regenerate the lock file with the `poetry lock` command.
```

https://github.com/digitalocean/openapi/actions/runs/6526929286/job/17721187808#step:7:13
andrewsomething added a commit to digitalocean/openapi that referenced this pull request Oct 16, 2023
Updates the poetry version used in Python client validation to match the one used by pydo itself.

See: digitalocean/pydo#237

Resolves errors like:

```
  The lock file is not compatible with the current version of Poetry.
  Upgrade Poetry to be able to read the lock file or, alternatively, regenerate the lock file with the `poetry lock` command.
```

https://github.com/digitalocean/openapi/actions/runs/6526929286/job/17721187808#step:7:13
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