Skip to content

Commit

Permalink
Add support for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Nov 1, 2019
1 parent 58adf57 commit 8a10d91
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Before you submit a pull request, check that it meets these guidelines:

1. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring.
2. The pull request should work for Python 2.7 and 3.7. Check
2. The pull request should work for Python 2.7 and >=3.5. Check
https://travis-ci.org/galaxyproject/planemo/pull_requests
and make sure that the tests pass for all supported Python versions.

Expand Down
2 changes: 1 addition & 1 deletion docs/commands/run.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Planemo command for running tools and jobs.

--galaxy_root DIRECTORY Root of development galaxy directory to
execute command with.
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7]
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7|3.8]
Python version to start Galaxy under
--galaxy_database_seed PATH Preseeded Galaxy sqlite database to target.
--extra_tools PATH Extra tool sources to include in Galaxy's tool
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/serve.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Galaxy instance.

--galaxy_root DIRECTORY Root of development galaxy directory to
execute command with.
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7]
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7|3.8]
Python version to start Galaxy under
--galaxy_database_seed PATH Preseeded Galaxy sqlite database to target.
--extra_tools PATH Extra tool sources to include in Galaxy's tool
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/shed_serve.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ logged into and explored interactively.
mappings defined ~/.planemo.yml.
--galaxy_root DIRECTORY Root of development galaxy directory to
execute command with.
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7]
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7|3.8]
Python version to start Galaxy under
--galaxy_database_seed PATH Preseeded Galaxy sqlite database to target.
--extra_tools PATH Extra tool sources to include in Galaxy's tool
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/shed_test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This command requires the target to be version 15.07 or newer.
mappings defined ~/.planemo.yml.
--galaxy_root DIRECTORY Root of development galaxy directory to
execute command with.
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7]
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7|3.8]
Python version to start Galaxy under
--galaxy_database_seed PATH Preseeded Galaxy sqlite database to target.
--extra_tools PATH Extra tool sources to include in Galaxy's tool
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ please careful and do not try this against production Galaxy instances.
part of testing.)
--galaxy_root DIRECTORY Root of development galaxy directory to
execute command with.
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7]
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7|3.8]
Python version to start Galaxy under
--galaxy_database_seed PATH Preseeded Galaxy sqlite database to target.
--extra_tools PATH Extra tool sources to include in Galaxy's tool
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/tool_factory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ http://www.ncbi.nlm.nih.gov/pubmed/23024011.

--galaxy_root DIRECTORY Root of development galaxy directory to
execute command with.
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7]
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7|3.8]
Python version to start Galaxy under
--galaxy_database_seed PATH Preseeded Galaxy sqlite database to target.
--extra_tools PATH Extra tool sources to include in Galaxy's tool
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/training_generate_from_wf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Create tutorial skeleton from workflow.
--workflow_id TEXT ID of the workflow on the Galaxy instance
--galaxy_root DIRECTORY Root of development galaxy directory to
execute command with.
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7]
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7|3.8]
Python version to start Galaxy under
--galaxy_database_seed PATH Preseeded Galaxy sqlite database to target.
--extra_tools PATH Extra tool sources to include in Galaxy's tool
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/training_init.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Build training template from workflow.
Zenodo extension and Galaxy datatypes
--galaxy_root DIRECTORY Root of development galaxy directory to
execute command with.
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7]
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7|3.8]
Python version to start Galaxy under
--galaxy_database_seed PATH Preseeded Galaxy sqlite database to target.
--extra_tools PATH Extra tool sources to include in Galaxy's tool
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/workflow_convert.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Convert Format 2 workflow to a native Galaxy workflow.
-o, --output FILE
--galaxy_root DIRECTORY Root of development galaxy directory to
execute command with.
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7]
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7|3.8]
Python version to start Galaxy under
--galaxy_database_seed PATH Preseeded Galaxy sqlite database to target.
--extra_tools PATH Extra tool sources to include in Galaxy's tool
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/workflow_edit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Open a synchronized Galaxy workflow editor.

--galaxy_root DIRECTORY Root of development galaxy directory to
execute command with.
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7]
--galaxy_python_version [2|2.7|3|3.5|3.6|3.7|3.8]
Python version to start Galaxy under
--galaxy_database_seed PATH Preseeded Galaxy sqlite database to target.
--extra_tools PATH Extra tool sources to include in Galaxy's tool
Expand Down
2 changes: 1 addition & 1 deletion planemo/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def galaxy_python_version():
'--galaxy_python_version',
use_global_config=True,
default=None,
type=click.Choice(['2', '2.7', '3', '3.5', '3.6', '3.7']),
type=click.Choice(['2', '2.7', '3', '3.5', '3.6', '3.7', '3.8']),
help="Python version to start Galaxy under",
)

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def get_var(var_name):
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
test_suite=TEST_DIR,
tests_require=test_requirements
Expand Down

0 comments on commit 8a10d91

Please sign in to comment.