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

Add Python 3.10 to the build matrix #1234

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7']
python-version: ['3.7', '3.10']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That double the long running test time. can we skip the 3.10 tests on everything but unit-quick ?

tox-action:
- lint
- lint_docs
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
10 changes: 1 addition & 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,6 @@ 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",
],
test_suite=TEST_DIR,
tests_require=test_requirements,
)
Loading