Skip to content

Commit

Permalink
Debug travis package deployment (#294)
Browse files Browse the repository at this point in the history
* setup.py and module uses same version number

* fix travis config for pypi deploy
  • Loading branch information
steveyang90 authored Nov 15, 2020
1 parent e51ef6e commit 2605d80
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ jobs:
script: skip
deploy:
provider: pypi
# tmp workaround from travis CI
# https://travis-ci.community/t/cant-deploy-to-pypi-anymore-pkg-resources-contextualversionconflict-importlib-metadata-0-18/10494/10
install: pip install keyring==21.4.0
username: "__token__"
password: PYPI_API_TOKEN
password: $PYPI_API_TOKEN
on:
tags: true
skip_existing: true
Expand Down
2 changes: 1 addition & 1 deletion orbit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name = 'orbit'
__version__ = '1.0.6'
__version__ = '1.0.9'

2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
version = attr: orbit.__version__
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# dist.Distribution().fetch_build_eggs(['cython'])


VERSION = '1.0.6'
# VERSION = '1.0.6'
DESCRIPTION = "Orbit is a package for bayesian time series modeling and inference."
AUTHOR = '''Edwin Ng <edwinng@uber.com>, Steve Yang <steve.yang@uber.com>,
Huigang Chen <huigang@uber.com>, Zhishi Wang <zhishiw@uber.com>'''
Expand Down Expand Up @@ -60,7 +60,7 @@ def run_tests(self):
name='orbit-ml',
packages=find_packages(),
url='https://uber.github.io/orbit/',
version=VERSION,
# version=VERSION, # being maintained by source module
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
Expand Down

0 comments on commit 2605d80

Please sign in to comment.