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

[NO TICKET] Update PyYAML and fix CI #155

Merged
merged 5 commits into from
Jul 24, 2023
Merged

[NO TICKET] Update PyYAML and fix CI #155

merged 5 commits into from
Jul 24, 2023

Conversation

lidijac
Copy link
Member

@lidijac lidijac commented Jul 24, 2023

Proposed change

CI was broken. History of fails here. I still need to see if it will publish the new version.

How to test the change

Checklist

  • Tests have been added to verify that the new code works (if possible)
  • Documentation has been updated to reflect changes
  • CHANGELOG.md has been updated to reflect changes

@@ -4,11 +4,11 @@ on: [push]

jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
Copy link
Member Author

Choose a reason for hiding this comment

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

Was deprecated, didn't want to run

strategy:
matrix:
python-version: [3.9, 3.8]
poetry-version: [1.1.7]
poetry-version: [1.3.1]
Copy link
Member Author

Choose a reason for hiding this comment

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

lock file was incompatible with old version, someone prob pushed a newer one, bumped this

@@ -5,7 +5,7 @@ repos:
- id: black
additional_dependencies: ['click==8.0.4']
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
rev: 5.12.0
Copy link
Member Author

Choose a reason for hiding this comment

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

Was dying at the old version

@@ -22,7 +22,7 @@ python = "^3.8"
marshmallow = "3.13.0"
marshmallow-dataclass = "8.5.3"
click = "8.0.1"
PyYAML = "5.4.1"
PyYAML = "6.0.1"
Copy link
Member Author

@lidijac lidijac Jul 24, 2023

Choose a reason for hiding this comment

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

There was an issue with cython from last week affecting our version, options were to downgrade or upgrade. This is visible on my local machine where auto-pr tool broke.

pip seemed to fail to build package:
    PyYAML==5.4.1

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    AttributeError: cython_sources

@lidijac lidijac changed the title Fix ci [NO TICKET] Update PyYAML and fix CI Jul 24, 2023
@lidijac lidijac marked this pull request as ready for review July 24, 2023 11:27
@lidijac lidijac requested a review from ctbur July 24, 2023 11:27
@ctbur
Copy link
Contributor

ctbur commented Jul 24, 2023

Thanks for the fixes!

@lidijac lidijac merged commit 3727a90 into master Jul 24, 2023
3 checks passed
@lidijac lidijac deleted the fix-ci branch July 24, 2023 11:33
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