Skip to content

update dependencies; drop python 3.10 #10438

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

Merged
merged 9 commits into from
Jul 2, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
additional ci adjustments
  • Loading branch information
DHRUVA KUMAR KAUSHAL authored and DHRUVA KUMAR KAUSHAL committed Jun 23, 2025
commit 1b29658f2519a5d5d9c42fcb7d8d690a5f0fe521
2 changes: 1 addition & 1 deletion .binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: xarray-examples
channels:
- conda-forge
dependencies:
- python=3.10
- python=3.11
- boto3
- bottleneck
- cartopy
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-additional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,15 @@ jobs:
fail_ci_if_error: false

mypy-min:
name: Mypy 3.10
name: Mypy 3.11
runs-on: "ubuntu-latest"
needs: detect-ci-trigger
defaults:
run:
shell: bash -l {0}
env:
CONDA_ENV_FILE: ci/requirements/environment.yml
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.11"

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
fail_ci_if_error: false

pyright39:
name: Pyright 3.10
name: Pyright 3.11
runs-on: "ubuntu-latest"
needs: detect-ci-trigger
if: |
Expand All @@ -252,7 +252,7 @@ jobs:
shell: bash -l {0}
env:
CONDA_ENV_FILE: ci/requirements/environment.yml
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.11"

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,18 @@ jobs:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
# Bookend python versions
python-version: ["3.10", "3.13"]
python-version: ["3.11", "3.13"]
env: [""]
include:
# Minimum python version:
- env: "bare-minimum"
python-version: "3.10"
python-version: "3.11"
os: ubuntu-latest
- env: "bare-min-and-scipy"
python-version: "3.10"
python-version: "3.11"
os: ubuntu-latest
- env: "min-all-deps"
python-version: "3.10"
python-version: "3.11"
os: ubuntu-latest
# Latest python version:
- env: "all-but-numba"
Expand All @@ -73,7 +73,7 @@ jobs:
# The mypy tests must be executed using only 1 process in order to guarantee
# predictable mypy output messages for comparison to expectations.
- env: "mypy"
python-version: "3.10"
python-version: "3.11"
numprocesses: 1
os: ubuntu-latest
- env: "mypy"
Expand Down
2 changes: 1 addition & 1 deletion doc/contribute/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ We'll now kick off a two-step process:
.. code-block:: sh

# Create and activate the build environment
conda create -c conda-forge -n xarray-tests python=3.10
conda create -c conda-forge -n xarray-tests python=3.11

# This is for Linux and MacOS
conda env update -f ci/requirements/environment.yml
Expand Down
2 changes: 1 addition & 1 deletion doc/getting-started-guide/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Installation
Required dependencies
---------------------

- Python (3.10 or later)
- Python (3.11 or later)
- `numpy <https://www.numpy.org/>`__ (1.23 or later)
- `packaging <https://packaging.pypa.io/en/latest/#>`__ (23.1 or later)
- `pandas <https://pandas.pydata.org/>`__ (2.0 or later)
Expand Down
2 changes: 1 addition & 1 deletion xarray/util/generate_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def {{ method }}(self, *args: Any, **kwargs: Any) -> Self:
# We require a "hack" to tell type checkers that e.g. Variable + DataArray = DataArray
# In reality this returns NotImplemented, but this is not a valid type in python 3.9.
# Therefore, we return DataArray. In reality this would call DataArray.__add__(Variable)
# TODO: change once python 3.10 is the minimum.
# TODO: change once python 3.11 is the minimum.
#
# Mypy seems to require that __iadd__ and __add__ have the same signature.
# This requires some extra type: ignores[misc] in the inplace methods :/
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy