Skip to content

Commit 8c4754b

Browse files
authored
Merge pull request #211 from gpengzhi/py3
Update CI
2 parents 1b8428f + 3288cb9 commit 8c4754b

File tree

5 files changed

+23
-9
lines changed

5 files changed

+23
-9
lines changed

.travis.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
sudo: required
22
language: python
3+
dist: xenial # Required for Python 3.7
4+
cache: pip
5+
36
python:
4-
- "2.7"
5-
- "3.5"
67
- "3.6"
8+
- "3.7"
79

810
install:
9-
- pip install .[tensorflow-cpu]
10-
- pip install flake8
11+
- pip install --upgrade pip
12+
- pip install --progress-bar off .[tensorflow-cpu]
13+
- pip install flake8==3.7.7
14+
- pip install pytest
1115

1216
script:
1317
# stop the build if there are Python syntax errors or undefined names
@@ -20,7 +24,7 @@ script:
2024
jobs:
2125
include:
2226
- stage: docs
23-
python: "3.6"
27+
python: "3.7"
2428
install:
2529
- pip install --upgrade pip
2630
- pip install --progress-bar off -r requirements.txt

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## Unreleased
2+
3+
### New features
4+
5+
* Support only Python 3.6 and 3.7. Drop support of older Python versions.
6+
7+
### Feature improvements
8+
9+
### Fixes
110

211
## [v0.2.3](https://github.com/asyml/texar/releases/tag/v0.2.3) (2019-09-22)
312

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ cd texar
111111
pip install .
112112
```
113113

114+
**Note**: Texar>0.2.3 requires Python 3.6 or 3.7. To use with older Python versions, please use Texar<=0.2.3
115+
114116
### Getting Started
115117
* [Examples](./examples)
116118
* [Documentation](https://texar.readthedocs.io)

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
setuptools.setup(
1717
name="texar",
18-
version="0.2.3",
18+
version="0.2.4-unreleased",
1919
url="https://github.com/asyml/texar",
2020

2121
description="Toolkit for Machine Learning and Text Generation",
@@ -54,8 +54,7 @@
5454
'Intended Audience :: Science/Research',
5555
'Operating System :: OS Independent',
5656
'Programming Language :: Python',
57-
'Programming Language :: Python :: 2.7',
58-
'Programming Language :: Python :: 3.5',
5957
'Programming Language :: Python :: 3.6',
58+
'Programming Language :: Python :: 3.7',
6059
],
6160
)

texar/tf/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
_MAJOR = "0"
1616
_MINOR = "2"
17-
_REVISION = "3"
17+
_REVISION = "4-unreleased"
1818

1919
VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
2020
VERSION = "{0}.{1}.{2}".format(_MAJOR, _MINOR, _REVISION)

0 commit comments

Comments
 (0)