Skip to content

Commit 9a131fa

Browse files
committed
Remove six module
1 parent dc934f5 commit 9a131fa

File tree

9 files changed

+3
-980
lines changed

9 files changed

+3
-980
lines changed

.coveragerc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@
1616
source=shotgun_api3
1717
omit=
1818
shotgun_api3/lib/httplib2/*
19-
shotgun_api3/lib/six.py
2019
shotgun_api3/lib/certify/*
2120
shotgun_api3/lib/pyparsing.py

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
[flake8]
1212
max-line-length = 120
13-
exclude = shotgun_api3/lib/httplib2/*,shotgun_api3/lib/six.py,tests/httplib2test.py
13+
exclude = shotgun_api3/lib/httplib2/*,tests/httplib2test.py

docs/cookbook/examples/ami_handler.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ via ``POST``. If you're using a custom protocol the data is sent via ``GET``.
9595
# Imports
9696
# ---------------------------------------------------------------------------------------------
9797
import sys, os
98-
import six
9998
import logging as logger
10099

101100
# ---------------------------------------------------------------------------------------------

shotgun_api3/lib/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ Some third-party modules are bundled with `python-api` inside lib.
1010

1111
The version of `httplib2` bundled should be updated manually, however its version is included in the unused `shotgun_api3/lib/requirements.txt` to allow Github's automated CVE notifications to work.
1212

13-
### six
14-
15-
Six is a Python 2/3 compatibility library. In python-api, it's used to make simultaneous support for Python on 2 and 3 easier to maintain and more readable, but allowing the use of common helper functions, unified interfaces for modules that changed, and variables to ease type comparisons. For more on six, see the [documentation](https://six.readthedocs.io/).
16-
17-
The version of `six` bundled should be updated manually, however its version is included in the unused `shotgun_api3/lib/requirements.txt` to allow Github's automated CVE notifications to work.
18-
1913
## Flow Production Tracking Modules
2014

2115
### sgtimezone

shotgun_api3/lib/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,5 @@
2929
# This file is unused. It is left there so Github can warn us is a CVE is
3030
# released for our dependencies.
3131
httplib2==0.22.0
32-
six==1.13.0
3332
certifi==2024.7.4
3433
pyparsing==2.4.7

0 commit comments

Comments
 (0)