Skip to content

Commit

Permalink
Merge pull request #133 from SAP/fix-setup-py
Browse files Browse the repository at this point in the history
Update typing-extension In Setup.py
  • Loading branch information
SreevishnuAB authored Jan 9, 2023
2 parents ab968a5 + 04295ce commit 4451312
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 15 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@ jobs:
on:
tags: true
condition: $TRAVIS_TAG =~ ^rel/.*$
- stage: test
name: "Python: 3.5 on Linux"
python: "3.5"
env: TOXENV=py35-cov
- stage: test
name: "Python: 3.6 on Linux"
python: "3.6"
Expand Down
17 changes: 15 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.14.0]

### Changed

* Fixes `typing-extension` in `setup.py` [#133]

### Deprecated

* Drops support for Python 3.5

[#133]: https://github.com/SAP/data-attribute-recommendation-python-sdk/pull/133

## [0.13.1]

### Changed

* Updated `typing-extension` to version `4.0.0` [#131]
* Updates `typing-extension` to version `4.0.0` [#131]

[#131]: https://github.com/SAP/data-attribute-recommendation-python-sdk/pull/131

Expand Down Expand Up @@ -284,7 +296,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* First public release

[Unreleased]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.13.1...HEAD
[Unreleased]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.14.0...HEAD
[0.14.0]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.13.1...rel/0.14.0
[0.13.1]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.13.0...rel/0.13.1
[0.13.0]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.12.0...rel/0.13.0
[0.12.0]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.11.0...rel/0.12.0
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ To run the unit tests, simply call `tox`:
$ tox
```

By default, `tox` will run tests against Python 3.5, 3.6, 3.7 and 3.8.
By default, `tox` will run tests against Python 3.6, 3.7, 3.8, and 3.9
If you do not have all of these versions installed, you can select only
those versions that you have installed:

Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Features
- Easy to use
- High-level flows on top of the basic Data Attribute Recommendation APIs
- Fully type annotated for great autocomplete experience
- Supports Python 3.6 up to 3.9 (3.5 will be removed in an upcoming release)
- Supports Python 3.6 up to 3.9 (3.5 support removed in version `0.14.0`)

Release Notes
-------------
Expand Down
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,20 @@ def get_long_version():
author="Michael Haas",
author_email="[email protected]",
url="https://github.com/sap/data-attribute-recommendation-python-sdk",
install_requires=["requests~=2.20", "typing-extensions~=3.7", "cfenv~=0.5"],
install_requires=[
"requests~=2.20",
"typing-extensions~=4.0",
"cfenv~=0.5",
],
packages=find_packages(exclude=["tests"]),
include_package_data=True,
python_requires="~=3.5",
python_requires="~=3.6",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
# exclude "system_tests" by default: these need service credentials
envlist = py35, py36, py37, py38, py39
envlist = py36, py37, py38, py39

[testenv]
whitelist_externals = mkdir
Expand All @@ -10,8 +10,8 @@ setenv = COVERAGE_FILE = test_results/{envname}/unit_coverage/.coverage
passenv = DAR_* TRAVIS TRAVIS_* COVERALLS_*

deps =
zipp<2.0.0 # for python 3.5 support
pytest==6.1.2 # latest supporting Python 3.5
zipp<3.7.0 # for python 3.6 support
pytest==7.0.1 # for python 3.6 support
pytest-cov==2.12.1
httpretty==1.1.4
cov: coveralls==3.1.0
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.13.1
0.14.0

0 comments on commit 4451312

Please sign in to comment.