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

Allow newer versions of requests #48

Merged
merged 2 commits into from
Oct 22, 2017
Merged

Allow newer versions of requests #48

merged 2 commits into from
Oct 22, 2017

Conversation

bassdread
Copy link
Contributor

Fixes #47

@jslvtr
Copy link
Contributor

jslvtr commented Oct 4, 2017

Not too sure about this—if we stick to one known version, it's less likely bugs will be introduced by future versions. I think we should only upgrade to future versions if we find we need to because the current version has a bug or new versions introduce new functionality we want.

@matthewbalvanz-wf
Copy link
Contributor

As a library that others are likely to include in other projects, this kind of flexibility is handy, because it offers flexibility for the project to decide which version they want to use.

I did some testing with requests and pact-python and it looks like anything from 2.5.0 to the latest release should work properly. @bassdread would you be willing to update your PR to open it up with: requests>=2.5.0,<3.0.0? If a major version is released we'll likely want to do some checking on what changed in that release before its used with pact-python.

@bassdread
Copy link
Contributor Author

@matthewbalvanz-wf apologies for the late reply, I have updated this.

I don't mind which option is used to fixed this issue. Feel free to use this or close it if there is a better option.

@matthewbalvanz-wf
Copy link
Contributor

Thanks @bassdread. I'm going to merge both and spend a little time sorting out what the minimums are for the project and get a new release cut.

@matthewbalvanz-wf matthewbalvanz-wf merged commit 1dc72da into pact-foundation:master Oct 22, 2017
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.

3 participants