Skip to content

adding python 3.10 [tag & CI]#428

Merged
dbieber merged 2 commits into
google:masterfrom
Borda:pythons
Feb 6, 2023
Merged

adding python 3.10 [tag & CI]#428
dbieber merged 2 commits into
google:masterfrom
Borda:pythons

Conversation

@Borda

@Borda Borda commented Jan 10, 2023

Copy link
Copy Markdown
Contributor

I believe that Fire is fully compatible with all new Python versions so:

  • adding tags to package
  • adding testing for them

@google-cla

google-cla Bot commented Jan 10, 2023

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@hugovk hugovk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good.

Might be good to test 3.12-dev as well, to make sure things here are ready, and also to help test CPython itself before the big release in October.

@Borda

Borda commented Jan 10, 2023

Copy link
Copy Markdown
Contributor Author

Might be good to test 3.12-dev as well, to make sure things here are ready, and also to help test CPython itself before the big release in October.

sure, just would make it in separate PR to keep this change focus... 🐿️

@Borda

Borda commented Jan 23, 2023

Copy link
Copy Markdown
Contributor Author

Hello @dbieber, could you pls check and approve running CI... 🐿️

@dbieber

dbieber commented Jan 23, 2023

Copy link
Copy Markdown
Collaborator

Thanks for the PR.
Looks like we'll have to adjust the asyncio support for recent Python versions

E AttributeError: module 'asyncio' has no attribute 'coroutine'

@Borda

Borda commented Feb 1, 2023

Copy link
Copy Markdown
Contributor Author

ok, so lets do it one by one 🐿️

@Borda Borda changed the title adding pythons 3.10 and 3.11 adding pythons 3.10 Feb 1, 2023
@Borda Borda changed the title adding pythons 3.10 adding python 3.10 [tag & CI] Feb 1, 2023
@dbieber

dbieber commented Feb 1, 2023

Copy link
Copy Markdown
Collaborator

What's the significance of the squirrel emoji?

@Borda

Borda commented Feb 1, 2023

Copy link
Copy Markdown
Contributor Author

What's the significance of the squirrel emoji?

Nothing special, just mood at the moment, but I can remove it if you wish 🦦

@Borda

Borda commented Feb 1, 2023

Copy link
Copy Markdown
Contributor Author

Anyways, it seems that the CI is also failing for py3.8, which was untouched in this PR, so maybe something on master? Maybe worse to implement version freeze?

@dbieber

dbieber commented Feb 1, 2023

Copy link
Copy Markdown
Collaborator

I can remove it if you wish 🦦

Not at all! Was just curious. 🐙

Anyways, it seems that the CI is also failing for py3.8, which was untouched in this PR

Yes, looks like an update to the linter. #430 addresses. But 3.7 is also failing, and that looks like a linter bug, not a fire one!

@Borda Borda mentioned this pull request Feb 1, 2023
@Borda

Borda commented Feb 1, 2023

Copy link
Copy Markdown
Contributor Author

@dbieber, it seems this one #431 make all 🟢 again

@hugovk

hugovk commented Feb 1, 2023

Copy link
Copy Markdown
Contributor

#431 needs a little path fix: please see #433

@hugovk

hugovk commented Feb 1, 2023

Copy link
Copy Markdown
Contributor

#433 is merged, ready for rebase/update here.

@Borda

Borda commented Feb 2, 2023

Copy link
Copy Markdown
Contributor Author

@hugovk would it be possible in the setting to enable:

  • Always suggest updating pull request branches
  • Allow auto-merge

@hugovk

hugovk commented Feb 2, 2023

Copy link
Copy Markdown
Contributor

It would, but I'm not a member of this project :)

For auto-merge, we'd need to mark some status checks as required. The CLA is an obvious choice. For the CI, it can be tedious having to click through in the admin settings to mark each individual Python version as a required check; and then when adding/dropping versions, having to go back and repeat.

A common solution is to add a final noop job, which depends on the main test matrix job. And then only that final success job needs to be added as a required check. For example:

Screenshots image image

@Borda

Borda commented Feb 2, 2023

Copy link
Copy Markdown
Contributor Author

A common solution is to add a final noop job, which depends on the main test matrix job. And then only that final success job needs to be added as a required check. For example:

yes I did it too but I think your job won't reflect skip/cancel event, see:
https://github.com/Lightning-AI/ecosystem-ci/blob/4ed3826392d0b779f8fabb7d559f5d59bb3fd261/.github/workflows/ci_compatible.yml#L112-L124

@hugovk adding it as suggestion in #435

Restrict change to version; defer trigger changes for future consideration
@dbieber dbieber merged commit c29b923 into google:master Feb 6, 2023
@dbieber

dbieber commented Feb 6, 2023

Copy link
Copy Markdown
Collaborator

I merged the version change (CI for 3.10).
I left the trigger as is since I don't understand the security implications of it well enough yet.

@Borda Borda deleted the pythons branch February 6, 2023 16:41
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