Skip to content

Commit b33727e

Browse files
committed
upgrade: removing support for depreciated python 3.6
1 parent 9ad0fdd commit b33727e

4 files changed

Lines changed: 2 additions & 18 deletions

File tree

.github/workflows/code_quality.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
platform:
3333
- ubuntu-latest
3434
python-version:
35-
- "3.6"
3635
- "3.7"
3736
- "3.8"
3837
- "3.9"

pyproject.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,14 @@ packages = [
3636
]
3737

3838
[tool.poetry.dependencies]
39-
python = "^3.6.1"
40-
41-
dataclasses = {version = "^0.8", python = "3.6"}
39+
python = "^3.7"
4240

4341
[tool.poetry.dev-dependencies]
4442

4543
black = {version = "^20.8b1", markers = "platform_python_implementation!='PyPy'"}
4644
coverage = "^5.3"
4745
flake8 = "^3.8.4"
48-
ipython = [
49-
{version = "^7.32.0", python = "^3.7"},
50-
{version = "~7.16.3", python = "3.6"},
51-
]
46+
ipython = "^7.32.0"
5247
isort = "^5.6.4"
5348
mock = "^4.0.2"
5449
pdbpp = "^0.10.2"

tests/test_boundary.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import sys
2-
31
from collections import namedtuple
42

53
import mock
@@ -8,8 +6,6 @@
86
from pca.packages.errors import ErrorBoundary
97

108

11-
PY36 = (3, 6) <= sys.version_info < (3, 7)
12-
139
Callbacks = namedtuple(
1410
"Callbacks",
1511
[
@@ -162,10 +158,6 @@ class TestCallbackErrors:
162158
Tests checking what happens when a callback throws an error.
163159
"""
164160

165-
@pytest.mark.skipif(
166-
PY36,
167-
reason="strange behavior of representing Exception.args on CPython 3.6.15; waiting for obsoletion for Py36",
168-
)
169161
def test_log_inner_error(self, caplog) -> None:
170162
main_exception = AnException("main_exception")
171163
callback_exception = AnotherException("callback_exception")

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ isolated_build = true
33
usedevelop = True
44
envlist =
55
clean
6-
py36
76
py37
87
py38
98
py39
@@ -12,7 +11,6 @@ envlist =
1211

1312
[gh-actions]
1413
python =
15-
3.6: py36
1614
3.7: py37
1715
3.8: py38
1816
3.9: py39

0 commit comments

Comments
 (0)