Skip to content

Commit

Permalink
Merge pull request #1375 from nsoranzo/py311
Browse files Browse the repository at this point in the history
Officially support Python 3.10 and 3.11
  • Loading branch information
mvdbeek committed Jun 28, 2023
2 parents 4f6d2e0 + 5a9400a commit acd3757
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ jobs:
- unit-nonredundant-noclientbuild-noshed-gx-dev
- unit-nonredundant-noclientbuild-noshed-nogx
- unit-diagnostic-serveclientcmd
include:
- python-version: '3.11'
tox-action: lint
- python-version: '3.11'
tox-action: mypy
- python-version: '3.11'
tox-action: unit-quick
services:
postgres:
image: postgres:10.8
Expand Down
2 changes: 1 addition & 1 deletion planemo/shed2tap/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def __init__(self, name, version, repo):

class BaseAction:
_keys: List[str] = []
action_type = None # type: str
action_type: str

def __repr__(self):
return f"Action[type={self.action_type}]"
Expand Down
11 changes: 2 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

_version_re = re.compile(r"__version__\s+=\s+(.*)")


with open("%s/__init__.py" % SOURCE_DIR, "rb") as f:
init_contents = f.read().decode("utf-8")

Expand All @@ -40,7 +39,6 @@ def get_var(var_name):
PROJECT_AUTHOR = get_var("PROJECT_AUTHOR")
PROJECT_EMAIL = get_var("PROJECT_EMAIL")

TEST_DIR = "tests"
PROJECT_DESCRIPTION = (
"Command-line utilities to assist in building tools for the Galaxy project (http://galaxyproject.org/)."
)
Expand Down Expand Up @@ -90,11 +88,6 @@ def get_var(var_name):
# In tox, it will cover them anyway.
requirements = []

test_requirements = [
# TODO: put package test requirements here
]


setup(
name=PROJECT_NAME,
version=version,
Expand Down Expand Up @@ -127,7 +120,7 @@ def get_var(var_name):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
test_suite=TEST_DIR,
tests_require=test_requirements,
)

0 comments on commit acd3757

Please sign in to comment.