8000 Add Python 3.7 compatibility by dlstadther · Pull Request #2466 · spotify/luigi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add Python 3.7 compatibility #2466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Sep 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
language: python

dist: xenial

services:
- elasticsearch
- mysql
- docker
- postgresql

env:
global:
Expand All @@ -22,7 +25,6 @@ env:
- TOXENV=flake8
- TOXENV=docs
- TOXENV=py27-nonhdfs
- TOXENV=py34-nonhdfs
- TOXENV=py27-unixsocket
# - TOXENV=py27-cdh
# minicluster (cdh) tests disabled as lack of love, #2140.
Expand All @@ -33,18 +35,25 @@ env:
# - TOXENV=visualiser
# Disabling this test because of intermittent failures :-/

# Python 3.5 has to go here until Travis adds it to the default build images.
# https://github.com/travis-ci/travis-ci/issues/4794#issuecomment-143758799
sudo: false

# Python 3.7 needs to have its dist/sudo flags set in matrix so they don't
# break the other python builds.
# https://github.com/travis-ci/travis-ci/issues/9815
matrix:
include:
- python: 3.5
env: TOXENV=py35-nonhdfs
- python: 3.6
env: TOXENV=py36-nonhdfs
- python: 3.6
env: TOXENV=py36-unixsocket

sudo: false
- python: 3.7
dist: xenial
sudo: true
env: TOXENV=py37-nonhdfs
- python: 3.7
dist: xenial
sudo: true
env: TOXENV=py37-unixsocket

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.. image:: https://img.shields.io/pypi/l/luigi.svg?style=flat
:target: https://pypi.python.org/pypi/luigi

Luigi is a Python (2.7, 3.3, 3.4, 3.5, 3.6) package that helps you build complex
Luigi is a Python (2.7, 3.6, 3.7 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.

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def get_static_files(path):
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: System :: Monitoring',
],
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{27,33,34,35,36}-{cdh,hdp,nonhdfs,gcloud,postgres,unixsocket}, visualiser, pypy-scheduler, docs, flake8
envlist = py{27,33,34,35,36,37}-{cdh,hdp,nonhdfs,gcloud,postgres,unixsocket}, visualiser, pypy-scheduler, docs, flake8
skipsdist = True

[testenv]
Expand Down
0