Skip to content

Commit

Permalink
Merge pull request #72 from ESSS/python-3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus authored Nov 8, 2021
2 parents 9829ace + 74d179f commit e2fcef3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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_*
Expand Down

0 comments on commit e2fcef3

Please sign in to comment.