Skip to content

Conversation

@ctil
Copy link
Contributor

@ctil ctil commented Aug 28, 2019

The enum34 package is not compatible with python 3.4+. By
requiring enum-compat instead, this requirement will be a
noop when installing the dependencies from a python 3.4+ environment.

Closes: #450

The enum34 package is not compatible with python 3.4+. By
requiring enum-compat instead, this requirement will be a
noop when installing the dependencies from a python 3.4+ environment.

Closes: #450
@codecov-io
Copy link

codecov-io commented Aug 28, 2019

Codecov Report

Merging #579 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #579   +/-   ##
======================================
  Coverage      96%     96%           
======================================
  Files          75      75           
  Lines       15582   15582           
======================================
  Hits        14959   14959           
  Misses        623     623

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c1b816b...d7692c3. Read the comment docs.

@PeterHamilton
Copy link
Contributor

Hi @ctil, thanks for posting this. Should've taken care of this months ago.

@PeterHamilton PeterHamilton merged commit b8c19cf into OpenKMIP:master Aug 28, 2019
@PeterHamilton PeterHamilton added this to the 0.10 Release milestone Aug 28, 2019
@ctil
Copy link
Contributor Author

ctil commented Aug 28, 2019

@PeterHamilton No problem. Thanks for the quick merge!

install_requires=[
"cryptography",
"enum34",
"enum-compat",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/jstasiak/enum-compat/blob/master/README.rst suggests to use
enum34; python_version < '3.4'
directly.
With enum-compat, we get autogenerated RPM dep in Fedora Requires: python3.9dist(enum-compat) which does not exist.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, looks like it should be changed back to enum34; python_version < '3.4'. Looks like the README in enum-compat was updated a couple months after this was merged to say it's no longer needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Require "enum-compat" instead of "enum34"

4 participants