Skip to content

Commit

Permalink
Bump minimum Python required version to 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
aperezdc committed Apr 25, 2022
1 parent 265494a commit a8975c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.5', '3.10']
python-version: ['3.6', '3.10']
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions noxfile.py
Expand Up @@ -5,7 +5,7 @@
from pathlib import Path

py_default = "3.10"
py_envs = (py_default, "3.5")
py_envs = (py_default, "3.6")

nox.options.error_on_external_run = True
nox.options.sessions = (
Expand All @@ -16,7 +16,7 @@
@nox.session(python=py_default)
def clean(session):
session.notify("test")
session.install("coverage[toml]")
session.install("coverage[toml]<6.3")
session.run("coverage", "erase")


Expand Down Expand Up @@ -49,14 +49,14 @@ def lint(session):
def test(session):
"""Run unit tests, produce coverage data."""
session.notify("report")
session.install("coverage[toml]", "pytest", "xdoctest", "pygments", ".")
session.install("coverage[toml]<6.3", "pytest", "xdoctest", "pygments", ".")
session.run("coverage", "run", "-m", "pytest", "--xdoctest", "-vv",
*session.posargs)


@nox.session(python=py_default)
def report(session):
session.install("coverage[toml]")
session.install("coverage[toml]<6.3")
session.run("coverage", "combine", "--append")
session.run("coverage", "report")

Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Expand Up @@ -14,11 +14,11 @@ classifiers=
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3 :: Only

[options]
python_requires = >=3.5
python_requires = >=3.6
packages = find:
package_dir =
=src
Expand Down

0 comments on commit a8975c3

Please sign in to comment.