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 Python workflow #170

Merged
merged 1 commit into from
Sep 14, 2021
Merged

Fix Python workflow #170

merged 1 commit into from
Sep 14, 2021

Conversation

richardnuno
Copy link
Contributor

@richardnuno richardnuno commented Sep 13, 2021

Running the python-tests workflow against Python 3.8 was causing pylint issues.

This temporarily skips running the tests against 3.8 as well as linting for all versions since 3.8 is used in the workflow.

More recent versions of Python should be supported but this unblocks releases for now.

@richardnuno richardnuno force-pushed the fix-python-workflow branch 3 times, most recently from 2b0e8f0 to fa147b5 Compare September 13, 2021 19:30
@richardnuno richardnuno changed the title Update tox version requirement Fix Python workflow Sep 13, 2021
Running the python-tests workflow against Python 3.8 was causing pylint issues.

This temporarily skips running the tests against 3.8 as well as linting for all versions since 3.8 is used in the workflow.

More recent versions of Python should be supported but this unblocks releases for now.
@richardnuno richardnuno marked this pull request as ready for review September 14, 2021 13:11
@richardnuno richardnuno requested a review from a team September 14, 2021 13:11
Copy link

@kimbilida kimbilida left a comment

Choose a reason for hiding this comment

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

👏🏼

Comment on lines +1 to +13
# This file is for Shopify employees development environment.
# If you are an external contributor you don't have to bother with it.
name: ci-queue

vm:
image: /opt/dev/misc/railgun-images/default
ip_address: 192.168.64.245
memory: 1G
cores: 2
volumes:
root: 512M
services:
- redis

Choose a reason for hiding this comment

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

why was this change needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was getting an error (railgun.yml must exist in the same directory as dev.yml) when running the tests. Based the change on this commit that someone had started to also fix the python workflow issue. It's the same as the ruby file so hopefully these settings should be good.

@richardnuno
Copy link
Contributor Author

@casperisfine any thoughts on whether there should be a version bump with these changes?

@casperisfine
Copy link
Contributor

Not particularly no. I mean this just fixes the CI. Not much point cutting a release.

Copy link

@kimbilida kimbilida left a comment

Choose a reason for hiding this comment

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

The current version is 0.20.9 and hasn't been tagged or released so it seems fine to not have to bump it.

@richardnuno richardnuno merged commit 7b6b951 into master Sep 14, 2021
@richardnuno richardnuno deleted the fix-python-workflow branch September 14, 2021 17:01
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems September 14, 2021 17:04 Inactive
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.

3 participants