-
Notifications
You must be signed in to change notification settings - Fork 28
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
Upgrade Python 3.11 #396
Upgrade Python 3.11 #396
Changes from all commits
507b964
9695ffc
1ba44a1
0052fef
d22d13f
a75a5f9
b24adec
1a8009d
f4365bf
a7b7ca6
2c02507
a40f115
44b663e
524035a
98a3503
0bef6f9
ea7671a
1fcee1d
5e4543f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# PyPi publish for tibanna | ||
|
||
name: publish | ||
|
||
# Controls when the action will run. | ||
on: | ||
|
||
# Publish on all tags | ||
push: | ||
tags: | ||
- '*' | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-22.04 | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.11 | ||
- name: Publish | ||
env: | ||
PYPI_USER: ${{ secrets.PYPI_USER }} | ||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
make configure | ||
make publish-for-ga |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ API().run_workflow(input_json='myrun.json') | |
--- | ||
Note: Starting `0.8.2`, Tibanna supports local CWL/WDL files as well as shell commands and Snakemake workflows. | ||
|
||
Note 2: As of Tibanna version `2.0.0`, Python 3.6 is no longer supported. Please switch to Python 3.8! Python 3.7 is also supported as a fallback, but please prefer 3.8 if you can. | ||
Note 2: As of Tibanna version `2.0.0`, Python 3.7 (and lower) is no longer supported. Please switch to Python 3.11! Python 3.8 is also supported as a fallback, but please prefer 3.11 if you can. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tibanna 3 supports Python 3.7. Better include a new block: Note 3: As of Tibanna version |
||
|
||
Note 3: Starting `0.8.0`, one no longer needs to `git clone` the Tibanna repo. | ||
* Please switch from `invoke <command>` to `tibanna <command>`! | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ Version updates | |
**Sep 15, 2023** The latest version is now 4.0.0_. | ||
- Support for Python 3.7 has been dropped | ||
- Added support for Python 3.9 and 3.10 | ||
- Added support for Python 3.11 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sep 21, 2023 The latest version is now 5.0.0_. |
||
|
||
**Nov 18, 2022** The latest version is now 3.0.0_. | ||
- Tibanna now supports AWS Graviton-based instances. | ||
|
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "tibanna" | ||
version = "4.0.0" | ||
version = "5.0.0" | ||
description = "Tibanna runs portable pipelines (in CWL/WDL) on the AWS Cloud." | ||
authors = ["4DN-DCIC Team <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -25,25 +25,30 @@ classifiers = [ | |
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8,<3.11" | ||
python = ">=3.8,<3.12" | ||
python-lambda-4dn = "0.12.3" | ||
boto3 = "^1.9.0" | ||
botocore = "^1.12.1" | ||
boto3 = "^1.28.56" | ||
botocore = "^1.31.56" | ||
Benchmark-4dn = "^0.5.23" | ||
tomlkit = "^0.11.0" | ||
|
||
[tool.poetry.dev-dependencies] | ||
invoke = "0.18.1" | ||
boto3-stubs = "^1.28.56" | ||
botocore-stubs = "^1.31.56" | ||
invoke = "^2.2.0" | ||
flake8 = "^3.9.0" | ||
|
||
# PyTest and its auxiliary support files | ||
pytest = "^6.0" | ||
pytest-cov = "^3.0.0" | ||
# Need pytest-redis 3.0.2 or higher for pytest 7.4.2 (or higher). | ||
pytest = "^7.4.2" | ||
pytest-redis = "^3.0.2" | ||
pytest-cov = "^4.1.0" | ||
pytest-parallel = "^0.1.1" | ||
pytest-mock = "3.7" | ||
pytest-mock = "^3.11.1" | ||
|
||
coverage = {extras = ["toml"], version = "^6.3.2"} | ||
|
||
|
@@ -55,6 +60,7 @@ sphinx-rtd-theme = "0.5.0" # Do we have a good reason to pin this? -kmp 9-Nov-2 | |
[tool.poetry.scripts] | ||
tibanna = "tibanna.__main__:main" | ||
awsf3 = "awsf3.__main__:main" | ||
publish-to-pypi = "dcicutils.scripts.publish_to_pypi:main" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd add
make configure
here. You'll need to make a target.And
install
looks redundant withbuild
. Rather than eliminate it, to stay compatible, I suggest it should identify itself a synonym and then be implemented bymake build
.