-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply the following changes to make the list creation script compatible with Python 3. After these changes it will no longer support Python 2. * Import configparser instead of ConfigParser, as this module was renamed in Python 3 * Import quote and unquote from urllib.parse and urlopen from urllib.request instead of importing urllib2 * Remove mock from the dependencies as it is part of the standard library in Python 3 * Pin dependencies to the latest version * Use %d instead of %s when formatting a binary chunk header to avoid getting a TypeError. Also, use %d instead of %u, which is deprecated * Set the "version" key equal to the empty string instead of None when reverting configuration to avoid getting a "TypeError: option values must be strings". * Update CircleCI configuration to use a docker image with Python 3.8 * Update Python version requirement in README * Update README instructions to use virtualenv with Python 3 Closes #108.
- Loading branch information
Showing
6 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
boto==2.40.0 | ||
publicsuffixlist==0.7.3 | ||
requests==2.20.0 | ||
trackingprotection_tools==0.4.6 | ||
packaging==19.2 | ||
boto==2.49.0 | ||
publicsuffixlist==0.7.4 | ||
requests==2.24.0 | ||
trackingprotection-tools==0.5.0 | ||
packaging==20.4 | ||
|
||
# test requirements | ||
pytest==4.6.9 | ||
pytest==6.0.1 | ||
pytest-cov==2.10.0 | ||
mock==3.0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters