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 #108: Update Flask dependency #116

Merged
merged 6 commits into from Jun 24, 2019

Conversation

dgzlopes
Copy link
Contributor

@dgzlopes dgzlopes commented Apr 24, 2019

Tracked the dependency to Flask [0] and it has been fixed [1] on flask >1.0 (It was related with the JSONIFY_PRETTYPRINT_REGULAR default) so I updated the dependency and seems to solve #108 .
On the other side, fixing this generates the following warning:

On Python 2.7,3.4,3.5,3.7:
.tox/py27/lib/python2.7/site-packages/requests/__init__.py:91 /home/travis/build/dgzlopes/powerfulseal/.tox/py27/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning)

Seems to come from Requests and as reflected on this issue [2] looks like they are working on solving it!

[0] pallets/flask#2549
[1] http://flask.pocoo.org/docs/1.0/changelog/
[2] https://github.com/kennethreitz/requests/issues/5067

Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com>
@dgzlopes dgzlopes force-pushed the issue-108-update-dependency branch from 410de43 to cd163a4 Compare April 24, 2019 15:08
@dgzlopes dgzlopes changed the title Fix #108: Update flask dependency Fix #108: Update Flask dependency Apr 24, 2019
@seeker89
Copy link
Contributor

Awesome, thanks for taking a stab at this !

Let's wait for them to resolve that issue, and hopefully we'll be warning free again !

Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com>
@dgzlopes dgzlopes force-pushed the issue-108-update-dependency branch from 8a10392 to 70a21c2 Compare May 16, 2019 15:58
@dgzlopes
Copy link
Contributor Author

dgzlopes commented May 16, 2019

Update on this one! Looks like a fix to the requests urlib version issue got merged today [0]. So using the new version (requests 2.22.0) makes us RequestsDependencyWarning free (passing tests on my fork!).

On the other hand, looks like requests is dropping support for Python 3.4 on this new version! just writing this in the case is useful in the future.

[0] https://github.com/kennethreitz/requests/pull/5092

@seeker89
Copy link
Contributor

Awesome ! I'll take it for a spin as soon as I get any free bandwidth !

👍

@seeker89 seeker89 merged commit 0154ca2 into powerfulseal:master Jun 24, 2019
@dgzlopes dgzlopes deleted the issue-108-update-dependency branch June 24, 2019 14:05
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.

None yet

2 participants