Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Build different wheels for Python 2 and Python 3
Browse files Browse the repository at this point in the history
Since recently we have different set of dependencies for Python 2 and
Python 3 environments, hence we can't have one wheel because it may have
only one set of dependencies and no way of conditional dependencies.

So this commit removes "universal" wheels, which effectively means we
will have two wheels: one for python2, and one for python3.
  • Loading branch information
ikalnytskyi committed Feb 26, 2018
1 parent 21473c1 commit 90f8053
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ deploy:
all_branches: true
tags: false
condition: $pyver = '3.5'
# PyPi Push on tag
# PyPi Push on tag. Since we build different wheels for python2 and python3,
# we need to deploy jobs, each for each version of python interpreter.
- provider: pypi
skip_upload_docs: true
user: Axik
Expand All @@ -91,3 +92,14 @@ deploy:
tags: true
all_branches: true
python: 3.5
- provider: pypi
skip_upload_docs: true
user: Axik
password:
secure: "kRbo6mHdrZDaG8plDdl18S3Ld/Ek7W37VPuX1qcdR5nbb1bm8nddH7us9kHZAVWl8p4o4s8uN6shaSUobXTYU+7MFK6cb22c+nVcSYJMlMDq1cOlRNwFs+gXIKT8bgnW1VX/DVfMMkHQSvD00SRDKoUDQdQXbauStlSV4Nj1wSGXfovkujneBKfmeXYo3TBX/I9HVc+VAyXG9mCDJwivS//gpJKwgkpIKu3TOCPJY/makubvGcPUYzbZPRvi5iMp5pQPFTX2rnmzbp6CGH6jaGhgHjAYeNVQVdeNuXqrxvoTSyfmzfYJRla7b5zqBILPb0nxH9YLlZC7WYuqGgoUaijk554jcq1+und0GBo3xo7lo5HIHRUgOILn8KlzOp2Z6Gp7APkRevlot11yb6avWb2f46BP9P2vFzycCHJmJkZ1klF0UVEOEbBhJyP8i4kGArI1Y4qrsqUfzQfjkm6YfFQvXdjVFdNnm1Ze6yTT+Tt4q3gO0u1DIX8H1ofaU7AhOWF5BQ67ytFkw9jeCxKCTRrAn/QYfAw/eSzZZcatCb1RsfPTtxTFfxkTHP5QzFELQ0RzorSCEtugLAetX613JM2eaRs1cGhzflhirrc6yFDYjsScgj675woc5pBXSgjKrM9I8oTEAdetRtewewOIrPlNfV3qNoQa+AQHlRqr4bQ="
distributions: bdist_wheel
on:
repo: datarobot/batch-scoring
tags: true
all_branches: true
python: 2.7
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
1.13.2 (2018 February 26)
=========================

Bugfixes
--------
* Fix wheel installation for Python 2.

1.13.1 (2018 February 26)
=========================

Expand Down
2 changes: 1 addition & 1 deletion datarobot_batch_scoring/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.13.1'
__version__ = '1.13.2'
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
[bdist_wheel]
universal = 1

[metadata]
description-file = README.rst

0 comments on commit 90f8053

Please sign in to comment.