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

Fix quality action #237

Merged
merged 3 commits into from
Mar 31, 2023
Merged

Fix quality action #237

merged 3 commits into from
Mar 31, 2023

Conversation

kaitj
Copy link
Contributor

@kaitj kaitj commented Mar 31, 2023

@akhanf mentioned that the quality action has been failing when trying to install a package (see here).

Turns out this is due to a change made in the latest version of Poetry (the actions workflow doesn't pin the Poetry version used). As of v1.4.1, packages are required to use modern installation (see: python-poetry/poetry#7686). This is potentially problematic when relying on older versions of packages and for packages who are still using non-modern installers. This PR fixes this by adding an additional step to disable the modern-installation requirement in the Poetry config.

Also used this PR as an opportunity to:

  • update the versions of action steps that was still using older versions of node.js
  • Add a manual trigger for the python-testing workflow

kaitj added 3 commits March 31, 2023 13:58
As of Poetry v1.4.1, packages were required to use modern installation (see: python-poetry/poetry#7686). This is potentially problematic when relying on older versions of packages and for packages who are still using non-modern installers.

This commit adds an additional step to disable that modern-installation requirement, which should get the workflow working again.
@kaitj kaitj requested a review from akhanf March 31, 2023 19:01
@kaitj kaitj self-assigned this Mar 31, 2023
@kaitj kaitj added the bug Something isn't working label Mar 31, 2023
Copy link
Member

@akhanf akhanf left a comment

Choose a reason for hiding this comment

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

Thanks Jason!

@kaitj kaitj merged commit 410591a into khanlab:master Mar 31, 2023
@kaitj kaitj deleted the fix-quality-actions branch March 31, 2023 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants