From 0e114188d888d8405b51af2d4ad31f3f87e05b50 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Jun 2026 14:14:52 +0000 Subject: [PATCH 1/4] Initial plan From 67f69fe264f307f75785245d8fa5b62c72462001 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Jun 2026 14:17:27 +0000 Subject: [PATCH 2/4] Fix editable install by removing numpy build-time import --- setup.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.py b/setup.py index c310839..3e13d85 100755 --- a/setup.py +++ b/setup.py @@ -19,7 +19,6 @@ from setuptools import setup, find_packages -import numpy import os import versioneer @@ -32,10 +31,8 @@ author_email='stephan.kuschel@gmail.de', description='Diffraction Imaging Tools for Python', url='https://github.com/skuschel/diffractionimaging', - include_dirs = [numpy.get_include()], license='GPLv3+', python_requires='>=3.6', - setup_requires=['numpy>=1.8'], install_requires=['numpy>=1.8', 'scipy', 'urllib3', From 2cd16a53ed23cba0a76686c305db9ed5f6d07096 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Jun 2026 14:28:22 +0000 Subject: [PATCH 3/4] Fix run-tests workflow for current GitHub runners --- .github/workflows/run-tests.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ad28327..8452c2d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -7,20 +7,22 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9] + python-version: ["3.10", "3.12"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies + shell: bash run: | python -m pip install --upgrade pip pip install -r pip-requirements.txt python setup.py install --user - name: run tests + shell: bash run: | ./run-tests.sh @@ -29,21 +31,23 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest] - python-version: [3.8] + python-version: ["3.10"] # have to copy steps from above, as anchors are currently # not supported by github workflow (Jan 2020). steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies + shell: bash run: | python -m pip install --upgrade pip pip install -r pip-requirements.txt python setup.py install --user - name: run tests + shell: bash run: | ./run-tests.sh From 708719e5d50c22cc8df559d0009f4174e645945b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Jun 2026 14:29:44 +0000 Subject: [PATCH 4/4] Add Python 3.11 to run-tests matrix --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 8452c2d..001af27 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.12"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4