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

adding python 3.10 [tag & CI] #428

Merged
merged 2 commits into from Feb 6, 2023
Merged

adding python 3.10 [tag & CI] #428

merged 2 commits into from Feb 6, 2023

Conversation

Borda
Copy link
Contributor

@Borda Borda commented Jan 10, 2023

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

  • adding tags to package
  • adding testing for them

@google-cla
Copy link

google-cla bot commented Jan 10, 2023

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.

Copy link
Contributor

@hugovk hugovk left a comment

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
Copy link
Contributor Author

Borda commented Jan 10, 2023

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
Copy link
Contributor Author

Borda commented Jan 23, 2023

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

@dbieber
Copy link
Member

dbieber commented Jan 23, 2023

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
Copy link
Contributor Author

Borda commented Feb 1, 2023

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
Copy link
Member

dbieber commented Feb 1, 2023

What's the significance of the squirrel emoji?

@Borda
Copy link
Contributor Author

Borda commented Feb 1, 2023

What's the significance of the squirrel emoji?

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

@Borda
Copy link
Contributor Author

Borda commented Feb 1, 2023

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
Copy link
Member

dbieber commented Feb 1, 2023

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
Copy link
Contributor Author

Borda commented Feb 1, 2023

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

@hugovk
Copy link
Contributor

hugovk commented Feb 1, 2023

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

@hugovk
Copy link
Contributor

hugovk commented Feb 1, 2023

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

@Borda
Copy link
Contributor Author

Borda commented Feb 2, 2023

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

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

@hugovk
Copy link
Contributor

hugovk commented Feb 2, 2023

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
Copy link
Contributor Author

Borda commented Feb 2, 2023

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
Copy link
Member

dbieber commented Feb 6, 2023

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.

None yet

3 participants