Skip to content

Commit

Permalink
Version 1.3.1 (Python 3.7 support #834)
Browse files Browse the repository at this point in the history
  • Loading branch information
renesass authored Apr 22, 2022
1 parent 9d0d107 commit 9d8f511
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.9"

- name: Build dist
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
with:
submodules: recursive

- name: Setup Python 3.8
- name: Setup Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9

- name: Install pre-commit
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8"]
python-version: ["3.9"]
os: ["ubuntu-latest"]

steps:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
os: ["ubuntu-latest"]

steps:
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
os: ["ubuntu-latest"]

steps:
Expand Down
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.3.1

* Added Python 3.7 support again.


# 1.3

## Features
Expand Down
21 changes: 11 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,22 @@ def read_file(filepath: str) -> str:

extras_require = {
"dev": [
"setuptools>=62.0.0",
"types-setuptools>=57.4.12",
"setuptools",
"types-setuptools",
# Test
"pytest>=4.6",
"pytest-cov",
"pytest-xdist",
"pytest-timeout",
# Docs
"automl-sphinx-theme>=0.1.8",
"automl-sphinx-theme>=0.1.9",
# Others
"mypy>=0.942",
"isort>=5.10.1",
"black>=22.3.0",
"pydocstyle>=6.1.1",
"flake8>=4.0.1",
"pre-commit>=2.18.1",
"mypy",
"isort",
"black",
"pydocstyle",
"flake8",
"pre-commit",
]
}

Expand All @@ -67,12 +67,13 @@ def read_file(filepath: str) -> str:
project_urls=project_urls,
version=version,
packages=setuptools.find_packages(exclude=["tests"]),
python_requires=">=3.8",
python_requires=">=3.7",
install_requires=read_file(os.path.join(HERE, "requirements.txt")).split("\n"),
extras_require=extras_require,
test_suite="pytest",
platforms=["Linux"],
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
2 changes: 1 addition & 1 deletion smac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
Matthias Feurer, André Biedenkapp, Difan Deng, Carolin Benjamins, Tim Ruhkopf, René Sass
and Frank Hutter
"""
version = "1.3"
version = "1.3.1"

0 comments on commit 9d8f511

Please sign in to comment.