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

Require responses<=0.23.1 #69

Closed
wants to merge 1 commit into from
Closed

Require responses<=0.23.1 #69

wants to merge 1 commit into from

Conversation

krazos
Copy link

@krazos krazos commented Jul 27, 2023

Require responses<=0.23.1 to resolve dependency conflicts introduced by responses 0.23.2 (e.g., with Home Assistant integrations) pending upstream resolution

getsentry/responses#657
home-assistant/core#97248

Require responses<=0.23.1 to resolve dependency conflicts (e.g., with Home Assistant integrations) pending upstream resolution

getsentry/responses#657
home-assistant/core#97248
@@ -26,5 +26,5 @@ def read(fname):
packages=['forecastio'],
package_data={'forecastio': ['LICENSE.txt', 'README.rst']},
long_description=open('README.rst').read(),
install_requires=['requests>=1.6', 'responses'],
install_requires=['requests>=1.6', 'responses<=0.23.1'],
Copy link

Choose a reason for hiding this comment

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

This is not correct. responses is for testing, it does not belong in this install_requires list at all.

@wcdawn
Copy link

wcdawn commented Jul 27, 2023

I’m not sure why this PR is being made? This project is dead now that Dark Sky doesn’t exist any more.

@krazos
Copy link
Author

krazos commented Jul 27, 2023

The Pirate Weather project -- which includes a Home Assistant custom component -- relies on this module:

https://github.com/alexander0042/pirateweather/
https://github.com/alexander0042/pirate-weather-ha

Just trying to come up with a quick-and-dirty fix to prevent the dependency conflict from breaking unsuspecting users' Home Assistant instances while minimizing changes to this project...

@wcdawn
Copy link

wcdawn commented Jul 28, 2023

Thanks for sharing Pirate Weather! Very cool project. I think you'll want to fork this project so you can maintain it yourself. You'll notice the last commit to the master branch was in 2018 and it looks like the owner of the repo hasn't interacted with GitHub since 2020.

@krazos
Copy link
Author

krazos commented Jul 29, 2023

This dependency conflict was resolved for purposes of the Pirate Weather custom component via a package constraint for urllib3 within Home Assistant:

home-assistant/core#97339

Closing this PR as no longer necessary. Thanks, all.

@krazos krazos closed this Jul 29, 2023
@frenck
Copy link

frenck commented Jul 30, 2023

@krazos That is a temporary solution and not permanent. It is not a solution either. Just to be clear on that.

Pirate Weather still needs to adjust, if they don't, it will break soon.

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

3 participants