Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support python 3.7 and up #26

Merged
merged 1 commit into from May 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.7-v7.3.3]
python-version: [3.7, 3.8, 3.9, pypy-3.7-v7.3.3]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -30,7 +30,7 @@ classifiers =
[options]
zip_safe = False
include_package_data = True
python_requires = >= 3.6
python_requires = >= 3.7
packages = find:
package_dir =
=src
Expand Down
2 changes: 0 additions & 2 deletions src/port_for/__init__.py
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import

__version__ = "0.5.0"

from ._ranges import UNASSIGNED_RANGES
Expand Down
1 change: 0 additions & 1 deletion src/port_for/api.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, with_statement
import contextlib
import socket
import errno
Expand Down
1 change: 0 additions & 1 deletion src/port_for/ephemeral.py
Expand Up @@ -6,7 +6,6 @@
Currently only Linux and BSD (including OS X) are supported.
"""
from __future__ import absolute_import, with_statement
import subprocess
from typing import List, Tuple, Dict

Expand Down
1 change: 0 additions & 1 deletion src/port_for/store.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, with_statement
import os
from configparser import ConfigParser, DEFAULTSECT
from typing import Optional, List, Tuple, Union
Expand Down
1 change: 0 additions & 1 deletion src/port_for/utils.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
import itertools
from typing import Iterable, Iterator, Tuple, Set

Expand Down
1 change: 0 additions & 1 deletion tests/test_cases.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
import unittest
import tempfile
import mock
Expand Down