Skip to content

Commit

Permalink
python 3.11 (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 authored Dec 6, 2023
1 parent b60ab1f commit 1036a31
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/ecmwf-projects/cookiecutter-conda-package",
"commit": "fce4971a7c7ff7ef6db9d99b626d06cf86c075a2",
"commit": "c6665306749b5dd3b4ec0fdcf1cb31d18fe23511",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11']
python-version: ['3.11']

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
cache-environment-key: environment-${{ steps.date.outputs.date }}
cache-downloads-key: downloads-${{ steps.date.outputs.date }}
create-args: >-
python=3.10
python=3.11
- name: Install package
run: |
python -m pip install --no-deps -e .
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
cache-environment-key: environment-${{ steps.date.outputs.date }}
cache-downloads-key: downloads-${{ steps.date.outputs.date }}
create-args: >-
python=3.10
python=3.11
- name: Install package
run: |
python -m pip install --no-deps -e .
Expand All @@ -151,7 +151,7 @@ jobs:
include:
- python-version: '3.8'
extra: -ci
- python-version: '3.10'
- python-version: '3.11'
extra: -integration

steps:
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Install package
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -232,6 +232,6 @@ jobs:
with:
name: distribution
path: dist
- uses: pypa/[email protected].10
- uses: pypa/[email protected].11
with:
verbose: true
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /src/cacholote

COPY environment.yml /src/cacholote/

RUN conda install -c conda-forge gcc python=3.10 \
RUN conda install -c conda-forge gcc python=3.11 \
&& conda env update -n base -f environment.yml

COPY . /src/cacholote
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ Defaults are controlled by environment variables and dotenv files. See `help(cac

## Workflow for developers/contributors

For best experience create a new conda environment (e.g. DEVELOP) with Python 3.10:
For best experience create a new conda environment (e.g. DEVELOP) with Python 3.11:

```
conda create -n DEVELOP -c conda-forge python=3.10
conda create -n DEVELOP -c conda-forge python=3.11
conda activate DEVELOP
```

Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering"
Expand Down

0 comments on commit 1036a31

Please sign in to comment.