Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support 3.8 with tests fix#263

Closed
uburuntu wants to merge 12 commits into
google:mastergoogle/python-fire:masterfrom
uburuntu:masteruburuntu/python-fire:masterCopy head branch name to clipboard
Closed

Support 3.8 with tests fix#263
uburuntu wants to merge 12 commits into
google:mastergoogle/python-fire:masterfrom
uburuntu:masteruburuntu/python-fire:masterCopy head branch name to clipboard

Conversation

@uburuntu

@uburuntu uburuntu commented May 26, 2020

Copy link
Copy Markdown
Contributor

Hi!

I want to use Fire in project with Python 3.8, so I think library should be officially supported for 3.8.

I added travis run for 3.8 and one test testInitRequiresFlagSyntaxSubclassNamedTuple got failed: link.

Investigation showed that now namedtuple attributes of type collections._tuplegetter since 3.8, not property: link, commit:

So I added backward compatibility check in MemberVisible function.

One not solved trouble: pytype does not support 3.8 (google/pytype#587) -- https://travis-ci.org/github/uburuntu/python-fire, but I can add check in travis.yml to skip it currently.

@googlebot googlebot added the cla: yes Author has signed CLA label May 26, 2020
@dbieber

dbieber commented May 26, 2020

Copy link
Copy Markdown
Collaborator

Thanks 🙏
Skipping pytype for 3.8 is fine.

@uburuntu

uburuntu commented May 26, 2020

Copy link
Copy Markdown
Contributor Author

Done 🙂

Build status: https://travis-ci.org/github/uburuntu/python-fire

@uburuntu

uburuntu commented Jun 4, 2020

Copy link
Copy Markdown
Contributor Author

Now with pytype 🙃

Build status: https://travis-ci.org/github/uburuntu/python-fire

@ssbarnea

ssbarnea commented Jun 7, 2020

Copy link
Copy Markdown

This is going to show us how fast the project is going to adapt. Based on #139 which is almost two years old, I would say that a lot. I am keeping an eye on Fire but I will avoid it for the moment on my own projects.

@dbieber

dbieber commented Jun 8, 2020

Copy link
Copy Markdown
Collaborator

Thanks for the update @uburuntu and for the review @ssbarnea.
This LGTM.

Merge will happen within the next 2-3 weeks, I expect.

python-fire-bot pushed a commit that referenced this pull request Jun 12, 2020
- Enables Travis for 3.8
- Fixes namedtuple test for 3.8

COPYBARA_INTEGRATE_REVIEW=#263 from uburuntu:master efaf65f
PiperOrigin-RevId: 316134191
Change-Id: I5e3ef20b488fa917b81525d5936a8e147b0458e1
@dbieber

dbieber commented Jun 12, 2020

Copy link
Copy Markdown
Collaborator

Merged in 457b156

@dbieber dbieber closed this Jun 12, 2020
CherylMoonba added a commit to CherylMoonba/devices that referenced this pull request Jul 20, 2025
- Enables Travis for 3.8
- Fixes namedtuple test for 3.8

COPYBARA_INTEGRATE_REVIEW=google/python-fire#263 from uburuntu:master efaf65fe5b0986121f0e1b76a949a07169dd354f
PiperOrigin-RevId: 316134191
Change-Id: I5e3ef20b488fa917b81525d5936a8e147b0458e1
hwlegends pushed a commit to hwlegends/python-fire that referenced this pull request Aug 20, 2025
- Enables Travis for 3.8
- Fixes namedtuple test for 3.8

COPYBARA_INTEGRATE_REVIEW=google/python-fire#263 from uburuntu:master efaf65fe5b0986121f0e1b76a949a07169dd354f
PiperOrigin-RevId: 316134191
Change-Id: I5e3ef20b488fa917b81525d5936a8e147b0458e1
Hernandez19891 added a commit to Hernandez19891/Illumina that referenced this pull request Sep 15, 2025
- Enables Travis for 3.8
- Fixes namedtuple test for 3.8

COPYBARA_INTEGRATE_REVIEW=google/python-fire#263 from uburuntu:master efaf65fe5b0986121f0e1b76a949a07169dd354f
PiperOrigin-RevId: 316134191
Change-Id: I5e3ef20b488fa917b81525d5936a8e147b0458e1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Author has signed CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.