Skip to content
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

build: Support Python 3.12 #256

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

build: Support Python 3.12 #256

wants to merge 3 commits into from

Commits on May 23, 2024

  1. build: Bump Python packages

    Challenges:
    
    - Had to hold back GDAL from 3.9 because it's not yet in nixpkgs
       <NixOS/nixpkgs#311310>.
    - Had to hold back numexpr from 2.10 because it's not yet in nixpkgs
       <NixOS/nixpkgs#310837>.
    - Had to hold back matplotlib from 3.9 because it needs a poetry2nix
       override <nix-community/poetry2nix#1659>.
    - Had to force sat-search version 0.3.0 to avoid Poetry downgrading it to
       0.1.0.
    - Had to add Cython 0 to the color-operations build inputs
       <nix-community/poetry2nix#1658>.
    
    Script:
    
    ```bash
    cd flooding/sentinel2_water_extraction
    poetry add --lock gdal="<3.9" matplotlib="<3.9" numexpr="<2.10" sat-search=">=0.3.0"
    poetry update --lock
    git checkout pyproject.toml
    poetry lock --no-update
    cd ../sentinel1_water_extraction/
    poetry add --lock gdal="<3.9"
    poetry update --lock
    git checkout pyproject.toml
    poetry lock --no-update
    ```
    l0b0 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    08bccd1 View commit details
    Browse the repository at this point in the history
  2. build: Support Python 3.12

    l0b0 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    5087a34 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    6758a3a View commit details
    Browse the repository at this point in the history