diff --git a/.github/workflows/pythonbuild.yml b/.github/workflows/pythonbuild.yml index 388b0569cd..26d2980cc3 100644 --- a/.github/workflows/pythonbuild.yml +++ b/.github/workflows/pythonbuild.yml @@ -23,6 +23,8 @@ jobs: tox-env: py39-core - python-version: "3.10" tox-env: py310-core + - python-version: "3.11" + tox-env: py311-core steps: - uses: actions/checkout@v2 @@ -88,6 +90,8 @@ jobs: tox-env: py39-postgres - python-version: "3.10" tox-env: py310-postgres + - python-version: "3.11" + tox-env: py311-postgres steps: - uses: actions/checkout@v2 @@ -139,6 +143,8 @@ jobs: tox-env: py39-aws - python-version: "3.10" tox-env: py310-aws + - python-version: "3.11" + tox-env: py311-aws - python-version: "3.6" tox-env: py36-unixsocket @@ -155,6 +161,9 @@ jobs: - python-version: "3.10" tox-env: py310-unixsocket OVERRIDE_SKIP_CI_TESTS: True + - python-version: "3.11" + tox-env: py311-unixsocket + OVERRIDE_SKIP_CI_TESTS: True - python-version: "3.6" tox-env: py36-apache @@ -166,6 +175,8 @@ jobs: tox-env: py39-apache - python-version: "3.10" tox-env: py310-apache + - python-version: "3.11" + tox-env: py311-apache - python-version: "3.6" tox-env: py36-azureblob @@ -177,6 +188,8 @@ jobs: tox-env: py39-azureblob - python-version: "3.10" tox-env: py310-azureblob + - python-version: "3.11" + tox-env: py311-azureblob - python-version: 3.9 diff --git a/README.rst b/README.rst index f2bcc3f408..102388157b 100644 --- a/README.rst +++ b/README.rst @@ -14,7 +14,7 @@ .. image:: https://img.shields.io/pypi/l/luigi.svg?style=flat :target: https://pypi.python.org/pypi/luigi -Luigi is a Python (3.6, 3.7, 3.8, 3.9, 3.10 tested) package that helps you build complex +Luigi is a Python (3.6, 3.7, 3.8, 3.9, 3.10, 3.11 tested) package that helps you build complex pipelines of batch jobs. It handles dependency resolution, workflow management, visualization, handling failures, command line integration, and much more. diff --git a/luigi/contrib/presto.py b/luigi/contrib/presto.py index dd5cd027c6..3165f8f077 100644 --- a/luigi/contrib/presto.py +++ b/luigi/contrib/presto.py @@ -104,7 +104,7 @@ def _kwargs(): ``` after py2-deprecation """ - args = inspect.getargspec(Cursor.__init__)[0][1:] + args = inspect.getfullargspec(Cursor.__init__)[0][1:] for parameter in args: val = getattr(self, parameter) if val: diff --git a/setup.py b/setup.py index 3a47b22d5f..c56e54811e 100644 --- a/setup.py +++ b/setup.py @@ -117,6 +117,7 @@ def get_static_files(path): 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Topic :: System :: Monitoring', ], ) diff --git a/tox.ini b/tox.ini index d1067e3f30..4208e98eca 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{35,36,37,38,39,310}-{cdh,hdp,core,contrib,apache,aws,gcloud,postgres,unixsocket,azureblob,dropbox}, visualiser, docs, flake8 +envlist = py{35,36,37,38,39,310,311}-{cdh,hdp,core,contrib,apache,aws,gcloud,postgres,unixsocket,azureblob,dropbox}, visualiser, docs, flake8 skipsdist = True [pytest]