Skip to content

use newer numpy & python#130

Merged
jdries merged 24 commits intomainfrom
py311
May 8, 2026
Merged

use newer numpy & python#130
jdries merged 24 commits intomainfrom
py311

Conversation

@jdries
Copy link
Copy Markdown
Contributor

@jdries jdries commented Mar 25, 2026

No description provided.

@jdries
Copy link
Copy Markdown
Contributor Author

jdries commented May 8, 2026

@copilot add installation of openblas to github actions, to fix scipy build

@jdries
Copy link
Copy Markdown
Contributor Author

jdries commented May 8, 2026

@copilot resolve the merge conflicts in this pull request

Agent-Logs-Url: https://github.com/Open-EO/FuseTS/sessions/87f477a5-ea9d-4875-9c1b-af5c354daf92

Co-authored-by: jdries <5937096+jdries@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

@copilot add installation of openblas to github actions, to fix scipy build

Done in 9665e44 — the workflow now installs libopenblas-dev before the Python dependency step so SciPy can build on GitHub Actions.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • artifactory.vgt.vito.be
    • Triggering command: /tmp/fusets-openblas-venv/bin/python /tmp/fusets-openblas-venv/bin/python /tmp/fusets-openblas-venv/lib/python3.12/site-packages/pip/__pip-REDACTED__.py install --ignore-installed --no-user --prefix /tmp/pip-build-env-y3iqfj22/overlay --no-warn-script-location --disable-pip-version-check --no-compile --target (dns block)
    • Triggering command: /tmp/fusets-openblas-venv/bin/pip pip install .[dev] --extra-index-url REDACTED (dns block)
    • Triggering command: /tmp/fusets-openblas-venv/bin/python /tmp/fusets-openblas-venv/bin/python /tmp/fusets-openblas-venv/lib/python3.12/site-packages/pip/__pip-REDACTED__.py install --ignore-installed --no-user --prefix /tmp/pip-build-env-uxvr7skr/overlay --no-warn-script-location --disable-pip-version-check --no-compile --target (dns block)
  • dl.google.com
    • Triggering command: /usr/lib/apt/methods/https /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Resolved conflicts in setup.cfg by:
- Keeping numpy>=2.0 upgrade from py311
- Accepting MOGPR removal from main (removes scipy, GPy, matplotlib deps)
- Keeping h5netcdf[h5py] fix from py311

Co-authored-by: jdries <5937096+jdries@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

@copilot resolve the merge conflicts in this pull request

Resolved in 5f501ec. The merge keeps numpy>=2.0 from py311 while accepting the MOGPR removal from main (which removes scipy, GPy, and matplotlib dependencies).

Copilot finished work on behalf of jdries May 8, 2026 06:34
@jdries
Copy link
Copy Markdown
Contributor Author

jdries commented May 8, 2026

@copilot use uv in github actions to build wheel and resolve dependencies

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

@copilot use uv in github actions to build wheel and resolve dependencies

Done in 9f5ad9c. Both workflows now use uv with caching enabled:

  • lint-and-test.yml: Uses uv pip install --system for dependency resolution
  • build-wheel.yml: Uses uv build --wheel for building the wheel

Copilot finished work on behalf of jdries May 8, 2026 10:03
@jdries
Copy link
Copy Markdown
Contributor Author

jdries commented May 8, 2026

@copilot resolve error caused by newer version of numpy:
/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/fusets/whittaker.py:106: in callback
dates_mask = np.in1d(XXd, output_dates)

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

@copilot resolve error caused by newer version of numpy:
/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/fusets/whittaker.py:106: in callback
dates_mask = np.in1d(XXd, outp...

Fixed in e1d9af7. Replaced deprecated np.in1d with np.isin for numpy 2.0 compatibility. This is a drop-in replacement with identical behavior.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • artifactory.vgt.vito.be
    • Triggering command: /usr/bin/python3 /usr/bin/python3 /usr/lib/python3/dist-packages/pip/__pip-REDACTED__.py install --ignore-installed --no-user --prefix /tmp/pip-build-env-4f30pp5p/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i REDACTED --extra-index-url REDACTED -- setuptools&gt;=42 wheel numpy&gt;=2.0 (dns block)
    • Triggering command: /usr/bin/pip pip install -e .[dev] --extra-index-url REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot finished work on behalf of jdries May 8, 2026 10:27
@jdries jdries merged commit abde6e3 into main May 8, 2026
7 checks passed
@jdries jdries deleted the py311 branch May 8, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants