Skip to content

Commit

Permalink
Python 3.9/3.10 (#395)
Browse files Browse the repository at this point in the history
* lock for newer python

* bump lambdas

* proper 3.10 specifier

* only QA 3.9

* Version, changelog

* Update docs

---------

Co-authored-by: Alexander Veit <53857412+alexander-veit@users.noreply.github.com>
  • Loading branch information
willronchetti and alexander-veit authored Sep 15, 2023
1 parent d6654b2 commit 1428d54
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 96 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python_version: [3.8]
python_version: ['3.9']

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -46,6 +46,5 @@ jobs:
aws-region: us-east-1

- name: QA (unit)
if: ${{ matrix.python_version == '3.8' }}
run: |
poetry run invoke test --no-flake
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
Change Log
==========

4.0.0
=====

* Drop support for 3.7
* Support 3.9, 3.10


3.3.3
=====

Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Installing Tibanna package

Tibanna works with the following Python and pip versions.

- Python 3.7, 3.8
- Python 3.8, 3.9, 3.10
- Pip 9, 10, 18, 19, 20


Expand Down
6 changes: 5 additions & 1 deletion docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ Version updates
For more recent version updates, check out Tibanna releases_


.. _releases: https://github.com/4dn-dcic/tibanna/releases
.. _releases: https://pypi.org/project/tibanna/

**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

**Nov 18, 2022** The latest version is now 3.0.0_.
- Tibanna now supports AWS Graviton-based instances.
Expand Down
128 changes: 42 additions & 86 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tibanna"
version = "3.3.3"
version = "4.0.0"
description = "Tibanna runs portable pipelines (in CWL/WDL) on the AWS Cloud."
authors = ["4DN-DCIC Team <support@4dnucleome.org>"]
license = "MIT"
Expand All @@ -22,12 +22,13 @@ classifiers = [
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
]

[tool.poetry.dependencies]
python = ">=3.7,<3.9"
python = ">=3.8,<3.11"
python-lambda-4dn = "0.12.3"
boto3 = "^1.9.0"
botocore = "^1.12.1"
Expand Down
2 changes: 1 addition & 1 deletion tibanna/lambdas/check_task_awsem.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'function_handler': 'handler',
'handler': 'service.handler',
'region': AWS_REGION,
'runtime': 'python3.8',
'runtime': 'python3.9',
'role': 'tibanna_lambda_init_role',
'description': 'check status of AWSEM run by interegating appropriate files on S3 ',
'timeout': 300,
Expand Down
2 changes: 1 addition & 1 deletion tibanna/lambdas/run_task_awsem.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'function_handler': 'handler',
'handler': 'service.handler',
'region': AWS_REGION,
'runtime': 'python3.8',
'runtime': 'python3.9',
'role': 'tibanna_lambda_init_role',
'description': 'launch an ec2 instance',
'timeout': 300,
Expand Down
2 changes: 1 addition & 1 deletion tibanna/lambdas/update_cost_awsem.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'function_handler': 'handler',
'handler': 'service.handler',
'region': AWS_REGION,
'runtime': 'python3.8',
'runtime': 'python3.9',
'role': 'tibanna_lambda_init_role',
'description': 'update costs of a workflow run',
'timeout': 300,
Expand Down

0 comments on commit 1428d54

Please sign in to comment.