Skip to content

Conversation

@dzheng256
Copy link
Contributor

@dzheng256 dzheng256 commented Sep 29, 2020

The preferred way to specify a requirement that depends on python version is to do something like '<packagename>; python_version < "3.4"', not to do the sys.version check as is currently being done.

I am running into an issue where a wheel is built with py2 and the cached wheel metadata is used again when installing the package for python 3.7, thus incorrectly including enum34.

This same issue is addressed in the stack overflow responses here

@google-cla google-cla bot added the cla: yes Author has signed CLA label Sep 29, 2020
@dzheng256 dzheng256 changed the title Fix enum34 requirement in setup.py Fix enum34 requirement in setup.py for python 3 Sep 29, 2020
@dbieber
Copy link
Collaborator

dbieber commented Sep 29, 2020

Thank you, we'll incorporate this change 👍 .

python-fire-bot pushed a commit that referenced this pull request Oct 5, 2020
7d100c1 by Daniel Zheng <dzheng256@gmail.com>

COPYBARA_INTEGRATE_REVIEW=#289 from dzheng256:patch-1 7d100c1
PiperOrigin-RevId: 335459087
Change-Id: Ifafd1ed3793604ed78b487189a0be908d699bd51
@dbieber
Copy link
Collaborator

dbieber commented Oct 5, 2020

Merged in 878b8d8

@dbieber dbieber closed this Oct 5, 2020
CherylMoonba added a commit to CherylMoonba/devices that referenced this pull request Jul 20, 2025
7d100c145a5a0afc44394e36c4c5c02afba288dc by Daniel Zheng <dzheng256@gmail.com>

COPYBARA_INTEGRATE_REVIEW=google/python-fire#289 from dzheng256:patch-1 7d100c145a5a0afc44394e36c4c5c02afba288dc
PiperOrigin-RevId: 335459087
Change-Id: Ifafd1ed3793604ed78b487189a0be908d699bd51
KurtMuelle added a commit to KurtMuelle/obtained that referenced this pull request Jul 22, 2025
7d100c145a5a0afc44394e36c4c5c02afba288dc by Daniel Zheng <dzheng256@gmail.com>

COPYBARA_INTEGRATE_REVIEW=google/python-fire#289 from dzheng256:patch-1 7d100c145a5a0afc44394e36c4c5c02afba288dc
PiperOrigin-RevId: 335459087
Change-Id: Ifafd1ed3793604ed78b487189a0be908d699bd51
hwlegends pushed a commit to hwlegends/python-fire that referenced this pull request Aug 20, 2025
7d100c145a5a0afc44394e36c4c5c02afba288dc by Daniel Zheng <dzheng256@gmail.com>

COPYBARA_INTEGRATE_REVIEW=google/python-fire#289 from dzheng256:patch-1 7d100c145a5a0afc44394e36c4c5c02afba288dc
PiperOrigin-RevId: 335459087
Change-Id: Ifafd1ed3793604ed78b487189a0be908d699bd51
marsMerge2021 added a commit to marsMerge2021/NTPMeasures that referenced this pull request Aug 31, 2025
7d100c145a5a0afc44394e36c4c5c02afba288dc by Daniel Zheng <dzheng256@gmail.com>

COPYBARA_INTEGRATE_REVIEW=google/python-fire#289 from dzheng256:patch-1 7d100c145a5a0afc44394e36c4c5c02afba288dc
PiperOrigin-RevId: 335459087
Change-Id: Ifafd1ed3793604ed78b487189a0be908d699bd51
Hernandez19891 added a commit to Hernandez19891/Illumina that referenced this pull request Sep 15, 2025
7d100c145a5a0afc44394e36c4c5c02afba288dc by Daniel Zheng <dzheng256@gmail.com>

COPYBARA_INTEGRATE_REVIEW=google/python-fire#289 from dzheng256:patch-1 7d100c145a5a0afc44394e36c4c5c02afba288dc
PiperOrigin-RevId: 335459087
Change-Id: Ifafd1ed3793604ed78b487189a0be908d699bd51
1278827 added a commit to 1278827/Hardware that referenced this pull request Sep 23, 2025
7d100c145a5a0afc44394e36c4c5c02afba288dc by Daniel Zheng <dzheng256@gmail.com>

COPYBARA_INTEGRATE_REVIEW=google/python-fire#289 from dzheng256:patch-1 7d100c145a5a0afc44394e36c4c5c02afba288dc
PiperOrigin-RevId: 335459087
Change-Id: Ifafd1ed3793604ed78b487189a0be908d699bd51
VLLanguage added a commit to VLLanguage/VLLanguage that referenced this pull request Nov 23, 2025
7d100c145a5a0afc44394e36c4c5c02afba288dc by Daniel Zheng <dzheng256@gmail.com>

COPYBARA_INTEGRATE_REVIEW=google/python-fire#289 from dzheng256:patch-1 7d100c145a5a0afc44394e36c4c5c02afba288dc
PiperOrigin-RevId: 335459087
Change-Id: Ifafd1ed3793604ed78b487189a0be908d699bd51
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.

2 participants