Sitelet https://web.archive.org/web/20201020071616/https://github.com/google/python-fire/pull/289
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

Fix enum34 requirement in setup.py for python 3 #289

Closed
wants to merge 1 commit into from

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

@dbieber 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
Member

@dbieber dbieber commented Oct 5, 2020

Merged in 878b8d8

@dbieber dbieber closed this Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.