Skip to content

Commit

Permalink
try upgrading to python3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
wistuba committed Jun 29, 2024
1 parent 940dda7 commit 4f87c79
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 82 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.2.2
version: 1.8.3
virtualenvs-create: true
virtualenvs-in-project: false
installer-parallel: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
# Select the Python versions to test against
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Check out the code
uses: actions/checkout@v3
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Install Poetry
uses: snok/[email protected]
with:
version: 1.4.0
version: 1.8.3

# Configure Poetry to use the virtual environment in the project
- name: Setup Poetry
Expand Down
132 changes: 58 additions & 74 deletions poetry.lock

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

10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "aws-fortuna"
version = "0.1.45"
version = "0.1.46"
description = "A Library for Uncertainty Quantification."
authors = ["Gianluca Detommaso <[email protected]>", "Alberto Gasparin <[email protected]>"]
license = "Apache-2.0"
Expand All @@ -9,8 +9,8 @@ documentation = "https://aws-fortuna.readthedocs.io/en/latest/"
packages = [{include = "fortuna"}]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
flax = "^0.6.2"
python = ">=3.9,<3.12"
flax = "^0.8.5"
optax = "^0.1.3"
matplotlib = "^3.6.2"
tqdm = "^4.64.1"
Expand Down Expand Up @@ -72,14 +72,14 @@ build-backend = "poetry.core.masonry.api"

[tool.black] # https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-via-a-file
line-length = 88
target-version = ["py38"]
target-version = ["py39"]

[tool.isort]
profile = "black"
combine_as_imports = true
force_sort_within_sections = true
force_grid_wrap = 2
skip = 'docs'
skip = "docs"

[tool.codespell]
ignore-words-list = "ACI"

0 comments on commit 4f87c79

Please sign in to comment.