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

CI: Add a Cygwin run to GitHub Actions #5878

Merged
merged 76 commits into from May 12, 2022

Commits on Dec 10, 2021

  1. CI: Add a cygwin run to GitHub Actions.

    Requested for the _imagingtk fix.
    DWesl committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    fdbb187 View commit details
    Browse the repository at this point in the history
  2. CI: Specify where the command line goes in the shell.

    I think this is how specifying the shell works.  The documentation
    isn't terribly clear.
    DWesl committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    67bef87 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2021

  1. CI: Make sure all python requirements are installed in Cygwin CI.

    For some reason wheel wasn't installed properly.
    DWesl committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    b798989 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4495de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ebac45 View commit details
    Browse the repository at this point in the history
  4. CI: Fix the path to the build wheels.

    setup.py bdist_wheel goes to dist/*.whl
    pip wheel goes to *.whl
    DWesl committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    cd087c6 View commit details
    Browse the repository at this point in the history
  5. CI: Split the config check from the actual test.

    I'm using selftest.py to check whether I've installed everything.
    Pytest actually finds and runs the tests.  For some reason that wasn't
    running earlier.
    DWesl committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    1daaf92 View commit details
    Browse the repository at this point in the history
  6. CI: Incorporate suggestions from PR.

    Upload coverage information, add Cygwin to the list of systems with CI,
    space out entries.
    DWesl committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    9ec4034 View commit details
    Browse the repository at this point in the history
  7. CI: Try to get tests fully working

    The actual test step wasn't running, so try to run that as a shell
    script rather than an executable.  Also get more of the dependencies
    installed.
    DWesl committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    407abbf View commit details
    Browse the repository at this point in the history
  8. CI: Use the new GitHub Action for codecov

    The old bash downloader will be removed soon.
    DWesl committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    4cfb1a8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    90cf149 View commit details
    Browse the repository at this point in the history
  10. CI: Make sure correct version of python is used for testing.

    Cygwin is trying to use the highest-available Python version.
    One of the Python packages has scripts in /usr/bin that should be in the python39- subpackage.
    DWesl committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    7fd3e99 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2021

  1. CI: Get cygwin tests running

    They segfault in one of the NumPy tests, but they run.
    DWesl committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    1c25d95 View commit details
    Browse the repository at this point in the history
  2. TST: Parametrize numpy roundtrip to find failing case

    Segfaults are annoying to debug.
    DWesl committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    b9fee08 View commit details
    Browse the repository at this point in the history
  3. DOC: Rearrange the Cygwin entries on the support matrix.

    From a suggestion on the PR, make it clearer that Cygwin runs on
    Windows.  Also record the Cygwin versions in the check against Python
    versions.
    DWesl committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    77c8a07 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2021

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

Commits on Jan 7, 2022

  1. Configuration menu
    Copy the full SHA
    7ad8fdb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a23131c View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2022

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

Commits on Jan 29, 2022

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

Commits on Feb 2, 2022

  1. Switched to windows-latest

    radarhere committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    e1c2735 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6293406 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    728bc7d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4be3b76 View commit details
    Browse the repository at this point in the history
  5. Upload errors on failure

    radarhere committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    8d2c56e View commit details
    Browse the repository at this point in the history
  6. Install Pillow directly

    radarhere committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    0563739 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. Install cjpeg and djpeg

    radarhere committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    6fded1a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from radarhere/add-cygwin-to-ci

    CI: Add a Cygwin run to GitHub Actions
    
    There are still a few things that are weird, but this looks much better than what I have now.
    DWesl committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    6b05452 View commit details
    Browse the repository at this point in the history
  3. Install netpbm

    radarhere committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    1312123 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2022

  1. Configuration menu
    Copy the full SHA
    2d6dee1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b582806 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5588f57 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. CI: Revert changes to test.sh

    Some early runs needed to explicitly specify the minor version to avoid calling python3.9 which had none of the dependencies installed.
    That problem should be fixed.
    DWesl committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    4d0e294 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

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

Commits on Apr 15, 2022

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

Commits on Apr 16, 2022

  1. CI: Update versions of actions used by Cygwin CI

    As suggested by code review.
    
    Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
    DWesl and radarhere committed Apr 16, 2022
    Configuration menu
    Copy the full SHA
    1d1c22e View commit details
    Browse the repository at this point in the history
  2. Added Python 3.9

    radarhere committed Apr 16, 2022
    Configuration menu
    Copy the full SHA
    635f8cf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cdfe08b View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2 from radarhere/add-cygwin-to-ci

    Only install NumPy through pip on 64-bit.
    
    Thanks for catching that, I'd forgotten the NumPy 1.21 problems were only on 64-bit.
    DWesl committed Apr 16, 2022
    Configuration menu
    Copy the full SHA
    80b8e12 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Configuration menu
    Copy the full SHA
    97e6197 View commit details
    Browse the repository at this point in the history
  2. FIX, CI: Actually run pip

    DWesl committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    bd61d1e View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Ci: Simplify Cygwin pip cache

    This might pave the way for caching the Cygwin install, which might speed things up a bit.
    DWesl committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    be6dd71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1d3bac View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. CI: Try to fix Cygwin pip cache

    DWesl committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    805e8f1 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2022

  1. CI: Set shell for Cygwin CI steps

    Allows me to avoid .ci/build_cygwin.sh
    DWesl committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    7605e46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1674e42 View commit details
    Browse the repository at this point in the history
  3. CI: Update pip before installing dependencies.

    Avoid pip warnings.
    DWesl committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    46c1f93 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9fb7951 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

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

Commits on Apr 29, 2022

  1. CI: Use dash to check system-info.py

    This may be a problem with using a login shell (starts in ~) rather than with using bash over dash.  We'll see in a bit.
    DWesl committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    fdbab82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    afa3cea View commit details
    Browse the repository at this point in the history
  3. CI: Stop using login shell for build info

    I should probably avoid login shells in any step that uses a relative path.
    DWesl committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    91e6457 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ed0c37d View commit details
    Browse the repository at this point in the history
  5. FIX: Fix syntax for shell call

    DWesl committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    41976ae View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e0f4c21 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    88c406e View commit details
    Browse the repository at this point in the history
  8. CI: Use bash for rebase step

    Hopefully this makes sure rebase finds all of pillow's C extension modules so rebase failures are less likely.
    DWesl committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    08e0d0b View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2022

  1. Configuration menu
    Copy the full SHA
    2d25e66 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3 from radarhere/add-cygwin-to-ci

    Do not install NumPy on Python 3.11
    
    So that's how I was supposed to resolve that merge conflict.  Thank you.
    DWesl committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    3453b0e View commit details
    Browse the repository at this point in the history
  3. CI: Specify python minor version everywhere on Cygwin

    Finish the last few of these.  It's usually unnecessary, but I ran into trouble once with NumPy, and will likely run into more problems if I start submitting packages.
    
    A different option would be to use alternatives to point python3 at the right python.
    DWesl committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    143e57b View commit details
    Browse the repository at this point in the history

Commits on May 2, 2022

  1. CI: Update Cygwin pip, but not on 32-bit

    * CI: Update Cygwin pip, but not on 32-bit
    
    32-bit Cygwin pip>=22 fails to install coverage.
    
    * CI: Let .ci/install.sh handle updating pip
    
    * CI Combine pip update conditions
    
    * CI: Don't try to upgrade pip on 32-bit Cygwin
    DWesl committed May 2, 2022
    Configuration menu
    Copy the full SHA
    ce74898 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. CI: Use alternatives to select python version (#4)

    * CI: Use alternatives to select python version
    
    * CI: Specify full path to alternatives
    
    /usr/sbin isn't in PATH
    
    * DBG: Print uname to try to avoid bad pip install.
    
    pip>=22 on 32-bit Cygwin seems to cause problems installing coverage.  I have no idea why this is, so I just skip upgrading pip there.
    
    * FIX: Fix syntax of conditional for 32-bit Cygwin
    
    I have no idea if it needs to be able to accept i386, but it will if it comes up.
    
    * FIX: Revert earlier debug change.
    DWesl committed May 3, 2022
    Configuration menu
    Copy the full SHA
    0b13425 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. CI: Drop 32-bit Cygwin from regular testing

    Cygwin recommends using 64-bit if at all possible, and will discontinue support entirely within the next year or so.  
    
    This also reduces CI load, which I suppose is polite to those who provide it at no cost.
    DWesl committed May 4, 2022
    Configuration menu
    Copy the full SHA
    941ff61 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

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

Commits on May 6, 2022

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

Commits on May 7, 2022

  1. STY: Fix English in .github/workflows/test-cygwin.yml

    Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
    DWesl and radarhere committed May 7, 2022
    Configuration menu
    Copy the full SHA
    b670df8 View commit details
    Browse the repository at this point in the history
  2. Removed DLL rebase

    radarhere committed May 7, 2022
    Configuration menu
    Copy the full SHA
    eee4811 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a5b20f7 View commit details
    Browse the repository at this point in the history
  4. CI: Stop testing numpy imports

    Install seems to be working now.
    
    Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
    DWesl and radarhere committed May 7, 2022
    Configuration menu
    Copy the full SHA
    7c97d84 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #8 from radarhere/add-cygwin-to-ci

    Removed steps that are currently unnecessary.  Hopefully they stay that way.
    DWesl committed May 7, 2022
    Configuration menu
    Copy the full SHA
    c535601 View commit details
    Browse the repository at this point in the history
  6. Adjust formatting

    radarhere committed May 7, 2022
    Configuration menu
    Copy the full SHA
    c6cdd4d View commit details
    Browse the repository at this point in the history

Commits on May 8, 2022

  1. Install cffi

    radarhere committed May 8, 2022
    Configuration menu
    Copy the full SHA
    c919db1 View commit details
    Browse the repository at this point in the history
  2. Use build.sh

    radarhere committed May 8, 2022
    Configuration menu
    Copy the full SHA
    035e955 View commit details
    Browse the repository at this point in the history
  3. Added Cygwin badge

    radarhere committed May 8, 2022
    Configuration menu
    Copy the full SHA
    0c7868b View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. Merge pull request #9 from radarhere/add-cygwin-to-ci

    Added Cygwin badge
    DWesl committed May 10, 2022
    Configuration menu
    Copy the full SHA
    63cd3cb View commit details
    Browse the repository at this point in the history

Commits on May 11, 2022

  1. CI: Only invoke bash once for build step.

    Let's see if this works.
    
    Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
    DWesl and nulano committed May 11, 2022
    Configuration menu
    Copy the full SHA
    30db27c View commit details
    Browse the repository at this point in the history