Skip to content

Commit

Permalink
stop shipping python 2 wheel to pypi
Browse files Browse the repository at this point in the history
travis' dpl command seems to be broken for python 2:

travis-ci/dpl#1232

Work around this by just publishing sdist and py3 wheel. Python 2
users will just have to use the sdist.
  • Loading branch information
bcavagnolo committed Feb 17, 2021
1 parent c37fb04 commit ca11375
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@ _python_template: &_python_template
before_install: cd client/
install: pip install -e .[test]
script: py.test
deploy:
provider: pypi
edge: true
username: "__token__"
password: $PYPI_TOKEN1$PYPI_TOKEN2
distributions: "sdist bdist_wheel"
skip_existing: true
skip_cleanup: true
on:
branch: master
tags: true
repo: planetlabs/datalake

_deploy_template: &_deploy
provider: pypi
edge: true
username: "__token__"
password: $PYPI_TOKEN1$PYPI_TOKEN2
distributions: "sdist bdist_wheel"
skip_existing: true
skip_cleanup: true
on:
branch: master
tags: true
repo: planetlabs/datalake

jobs:
include:
Expand All @@ -36,6 +37,8 @@ jobs:
- <<: *_python_template
name: py35 bare
python: 3.5
deploy:
<<: *_deploy
- <<: *_python_template
name: py27 with extras
python: 2.7
Expand All @@ -44,6 +47,8 @@ jobs:
name: py35 with extras
python: 3.5
install: pip install -e .[test,queuable,sentry]
deploy:
<<: *_deploy
- dist: bionic
name: docker
stage: test
Expand Down

0 comments on commit ca11375

Please sign in to comment.