Skip to content

Conversation

@barneygale
Copy link

This was deprecated in Python 3.3.

Fixes #157

This was deprecated in Python 3.3.

Fixes cloudify-cosmo#157
@davidfstr
Copy link

wagon no longer imports on Python 3.14+ due to this problem.

Here's how I got wagon to be usable on Python 3.14:

WAGON_PATH=/usr/local/lib/python3.14/site-packages/wagon.py
sed -i 's/from urllib.request import URLopener/from urllib.request import urlopen/' $WAGON_PATH
sed -i 's/from urllib import urlopen/from urllib.request import urlopen/' $WAGON_PATH

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.

urllib.request.URLopener is deprecated

2 participants