diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7c0007c..04789e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.6", "3.7", "3.8", "3.9"] + python: ["3.6", "3.7", "3.8", "3.9", "3.10"] os: [ubuntu-latest, windows-latest] include: - python: "3.6" @@ -21,6 +21,8 @@ jobs: tox_env: "py38" - python: "3.9" tox_env: "py39" + - python: "3.10" + tox_env: "py310" steps: - uses: actions/checkout@v1 diff --git a/setup.py b/setup.py index d252141..24a803a 100644 --- a/setup.py +++ b/setup.py @@ -1,15 +1,10 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -"""The setup script.""" -import io - from setuptools import find_packages from setuptools import setup -with io.open("README.rst", encoding="UTF-8") as readme_file: +with open("README.rst", encoding="UTF-8") as readme_file: readme = readme_file.read() -with io.open("CHANGELOG.rst", encoding="UTF-8") as changelog_file: +with open("CHANGELOG.rst", encoding="UTF-8") as changelog_file: history = changelog_file.read() requirements = ["attrs>=18.1.0", "numpy>=1.11.0", "oop-ext>=1.1"] @@ -38,6 +33,7 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", ], description="Python package to manage units for physical quantities", extras_require=extras_require, diff --git a/tox.ini b/tox.ini index eba3913..bbafc4d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36, py37, py38, py39, linting, docs +envlist = py36, py37, py38, py39, py310, linting, docs [testenv] passenv = TOXENV CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_*