Skip to content

Conversation

@uburuntu
Copy link
Contributor

@uburuntu uburuntu commented May 26, 2020

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

dbieber commented May 26, 2020

Thanks 🙏
Skipping pytype for 3.8 is fine.

@uburuntu
Copy link
Contributor Author

uburuntu commented May 26, 2020

Done 🙂

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

@uburuntu
Copy link
Contributor Author

uburuntu commented Jun 4, 2020

Now with pytype 🙃

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

@ssbarnea
Copy link

ssbarnea commented Jun 7, 2020

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

dbieber commented Jun 8, 2020

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

dbieber commented Jun 12, 2020

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
KurtMuelle added a commit to KurtMuelle/obtained that referenced this pull request Jul 22, 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
marsMerge2021 added a commit to marsMerge2021/NTPMeasures that referenced this pull request Aug 31, 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
1278827 added a commit to 1278827/Hardware that referenced this pull request Sep 23, 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
VLLanguage added a commit to VLLanguage/VLLanguage that referenced this pull request Nov 23, 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