Skip to content

Commit

Permalink
ADD official support for Python 3.10 (#28)
Browse files Browse the repository at this point in the history
* ADD official support for Python 3.10
* CHANGE version number for release 1.2.2
  • Loading branch information
felixriese authored Dec 11, 2021
1 parent 44597ab commit 471d41d
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests_and_linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
# Python versions need to be strings (otherwise: 3.10 -> 3.1)
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Change Log
==========

[1.2.2] - 2021-12-11
--------------------
- [ADDED] Official support for Python 3.10.
- [REMOVED] Official support for Python 3.6 (will be deprecated end of 2021
anyways). It might still work, but will not be maintained on this version.

[1.2.1] - 2021-10-19
--------------------
- [ADDED] Quantization error `get_quantization_error()`
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ authors:
given-names: Felix M.
orcid: https://orcid.org/0000-0003-0596-9585
title: "SuSi: SUpervised Self-organIzing maps in Python"
version: 1.2.1
version: 1.2.2
doi: "10.5281/zenodo.2609130"
date-released: 2021-10-19
date-released: 2021-12-11
repository-code: https://github.com/felixriese/susi
license: BSD-3-Clause
preferred-citation:
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# The short X.Y version
version = ""
# The full version, including alpha/beta/rc tags
release = "1.2.1"
release = "1.2.2"


# -- General configuration ---------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "susi" %}
{% set version = "1.2.1" %}
{% set version = "1.2.2" %}


package:
Expand All @@ -18,11 +18,11 @@ build:
requirements:
host:
- pip
- python >=3.6
- python >=3.7
run:
- joblib >=0.13.0
- numpy >=1.18.5
- python >=3.6
- python >=3.7
- scikit-learn >=0.21.1
- scipy >=1.3.1
- tqdm >=4.45.0
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ nbval>=0.9.5
coverage>=5.3

# for formatting
black
black>=21.9b0

# for the documentation
sphinx>=3.3.0
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setuptools.setup(
name="susi",
version="1.2.1",
version="1.2.2",
author="Felix M. Riese",
author_email="github@felixriese.de",
description=(
Expand Down Expand Up @@ -42,10 +42,10 @@
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
Expand All @@ -61,5 +61,5 @@
"Source": "https://github.com/felixriese/susi",
"Tracker": "https://github.com/felixriese/susi/issues",
},
python_requires=">=3.6",
python_requires=">=3.7",
)
2 changes: 1 addition & 1 deletion susi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
self-organizing maps (SOM).
"""
__version__ = "1.2.1"
__version__ = "1.2.2"

from .SOMClassifier import SOMClassifier
from .SOMClustering import SOMClustering
Expand Down

0 comments on commit 471d41d

Please sign in to comment.