Skip to content

Commit 41f9061

Browse files
authored
Merge pull request #3325 from dlstadther/drop-36
Drop Support for Python 3.5 and 3.6
2 parents e71265b + 7c6fcc0 commit 41f9061

File tree

5 files changed

+4
-32
lines changed

5 files changed

+4
-32
lines changed

.github/workflows/pythonbuild.yml

-13
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
strategy:
1414
matrix:
1515
include:
16-
- python-version: "3.6"
17-
tox-env: py36-core
1816
- python-version: "3.7"
1917
tox-env: py37-core
2018
- python-version: "3.8"
@@ -82,8 +80,6 @@ jobs:
8280
strategy:
8381
matrix:
8482
include:
85-
- python-version: "3.6"
86-
tox-env: py36-postgres
8783
- python-version: "3.7"
8884
tox-env: py37-postgres
8985
- python-version: "3.8"
@@ -137,8 +133,6 @@ jobs:
137133
strategy:
138134
matrix:
139135
include:
140-
- python-version: "3.6"
141-
tox-env: py36-aws
142136
- python-version: "3.7"
143137
tox-env: py37-aws
144138
- python-version: "3.8"
@@ -152,9 +146,6 @@ jobs:
152146
- python-version: "3.12"
153147
tox-env: py312-aws
154148

155-
- python-version: "3.6"
156-
tox-env: py36-unixsocket
157-
OVERRIDE_SKIP_CI_TESTS: True
158149
- python-version: "3.7"
159150
tox-env: py37-unixsocket
160151
OVERRIDE_SKIP_CI_TESTS: True
@@ -174,8 +165,6 @@ jobs:
174165
tox-env: py312-unixsocket
175166
OVERRIDE_SKIP_CI_TESTS: True
176167

177-
- python-version: "3.6"
178-
tox-env: py36-apache
179168
- python-version: "3.7"
180169
tox-env: py37-apache
181170
- python-version: "3.8"
@@ -189,8 +178,6 @@ jobs:
189178
- python-version: "3.12"
190179
tox-env: py312-apache
191180

192-
- python-version: "3.6"
193-
tox-env: py36-azureblob
194181
- python-version: "3.7"
195182
tox-env: py37-azureblob
196183
- python-version: "3.8"

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
:target: https://luigi.readthedocs.io/en/stable/?badge=stable
1919
:alt: Documentation Status
2020

21-
Luigi is a Python (3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12 tested) package that helps you build complex
21+
Luigi is a Python (3.7, 3.8, 3.9, 3.10, 3.11, 3.12 tested) package that helps you build complex
2222
pipelines of batch jobs. It handles dependency resolution, workflow management,
2323
visualization, handling failures, command line integration, and much more.
2424

doc/configuration.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ These files are meant for both the client and ``luigid``.
3232
If you decide to specify your own configuration you should make sure
3333
that both the client and ``luigid`` load it properly.
3434

35-
.. _ConfigParser.read: https://docs.python.org/3.6/library/configparser.html#configparser.ConfigParser.read
35+
.. _ConfigParser.read: https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.read
3636

3737
The config file is broken into sections, each controlling a different part of the config.
3838

setup.py

+1-16
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_static_files(path):
3737
with open('README.rst') as fobj:
3838
long_description = "\n\n" + readme_note + "\n\n" + fobj.read()
3939

40-
install_requires = ['python-dateutil>=2.7.5,<3', 'tenacity>=8,<9']
40+
install_requires = ['python-dateutil>=2.7.5,<3', 'tenacity>=8,<9', 'tornado>=5.0,<7']
4141

4242
# Can't use python-daemon>=2.2.0 if on windows
4343
# See https://pagure.io/python-daemon/issue/18
@@ -46,19 +46,6 @@ def get_static_files(path):
4646
else:
4747
install_requires.append('python-daemon')
4848

49-
# Start from tornado 6, the minimum supported Python version is 3.5.2.
50-
if sys.version_info[:3] >= (3, 5, 2):
51-
install_requires.append('tornado>=5.0,<7')
52-
else:
53-
install_requires.append('tornado>=5.0,<6')
54-
55-
# Note: To support older versions of setuptools, we're explicitly not
56-
# using conditional syntax (i.e. 'enum34>1.1.0;python_version<"3.4"').
57-
# This syntax is a problem for setuptools as recent as `20.1.1`,
58-
# published Feb 16, 2016.
59-
if sys.version_info[:2] < (3, 4):
60-
install_requires.append('enum34>1.1.0')
61-
6249
if os.environ.get('READTHEDOCS', None) == 'True':
6350
# So that we can build documentation for luigi.db_task_history and luigi.contrib.sqla
6451
install_requires.append('sqlalchemy')
@@ -111,8 +98,6 @@ def get_static_files(path):
11198
'Intended Audience :: Developers',
11299
'Intended Audience :: System Administrators',
113100
'License :: OSI Approved :: Apache Software License',
114-
'Programming Language :: Python :: 3.5',
115-
'Programming Language :: Python :: 3.6',
116101
'Programming Language :: Python :: 3.7',
117102
'Programming Language :: Python :: 3.8',
118103
'Programming Language :: Python :: 3.9',

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{35,36,37,38,39,310,311,312}-{cdh,hdp,core,contrib,apache,aws,gcloud,postgres,unixsocket,azureblob,dropbox}, visualiser, docs, flake8
2+
envlist = py{37,38,39,310,311,312}-{cdh,hdp,core,contrib,apache,aws,gcloud,postgres,unixsocket,azureblob,dropbox}, visualiser, docs, flake8
33
skipsdist = True
44

55
[pytest]

0 commit comments

Comments
 (0)