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

swagger-spec-compatibility is not compatible with bravado-core==5.16.0 #18

Merged

Conversation

macisamuele
Copy link
Collaborator

@macisamuele macisamuele commented Jan 4, 2020

As highlighted by @garyhoren, using a fresh install of swagger-spec-compatibility raises

TypeError: unhashable type: 'Spec'

This is caused because the latest bravado-core version (5.16.0) has changed the hashability propery of bravado_core.spec.Spec instances. More details are available on Yelp/bravado-core#363.

In order to limit the bleeding of the issue, I'm updating the requirements of the package by highlighting the incompatibility by blacklisting version 5.16.0 of bravado-core.

This PR will fix the tests of the package, that are currently red

@codecov
Copy link

codecov bot commented Jan 4, 2020

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #18   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          60     60           
  Lines        1891   1891           
  Branches      121    121           
=====================================
  Hits         1891   1891

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 6342b72...a9dcb60. Read the comment docs.

@macisamuele macisamuele merged commit 9d70942 into Yelp:master Jan 7, 2020
@macisamuele macisamuele deleted the maci-blacklist-bravado-core-versions branch January 7, 2020 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants