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 modernization (GHA, wheels, setuptools) #407

Merged
merged 48 commits into from Dec 12, 2020

Commits on May 23, 2020

  1. Script for build manylinux wheels

    This is meant to be run inside a manylinux Docker container.
    
    It produces sets of wheels in wheelhouse/ dir.
    
    Ref:
    - https://github.com/pypa/manylinux
    - https://github.com/pypa/python-manylinux-demo
    bsolomon1124 committed May 23, 2020
    Copy the full SHA
    0ba72f8 View commit details
    Browse the repository at this point in the history
  2. Build libyaml ourselves, nix yum install

    Allows for better control over version
    and build output.
    bsolomon1124 committed May 23, 2020
    Copy the full SHA
    cfb1d7d View commit details
    Browse the repository at this point in the history

Commits on May 24, 2020

  1. Build manylinux2014 wheels in CI

    - Single-source the libyaml upstream version used in tests and
      build
    - Redo the .travis.yml matrix for conditional logic
    - Put the libyaml-build into its own script since it's used in
      multiple places
    bsolomon1124 committed May 24, 2020
    Copy the full SHA
    4327345 View commit details
    Browse the repository at this point in the history
  2. chmod +x

    bsolomon1124 committed May 24, 2020
    Copy the full SHA
    99568e5 View commit details
    Browse the repository at this point in the history
  3. Typo

    bsolomon1124 committed May 24, 2020
    Copy the full SHA
    cc9f531 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    a7de8d2 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    79bbe26 View commit details
    Browse the repository at this point in the history
  6. Build pure-Python wheels

    bsolomon1124 committed May 24, 2020
    Copy the full SHA
    d2139d0 View commit details
    Browse the repository at this point in the history
  7. Typo on pip flag

    bsolomon1124 committed May 24, 2020
    Copy the full SHA
    8d9be9e View commit details
    Browse the repository at this point in the history
  8. Remove sudo, check UID 0 instead

    sudo is actually not available on some containers,
    but we can do an initial UID check.
    bsolomon1124 committed May 24, 2020
    Copy the full SHA
    dcb137a View commit details
    Browse the repository at this point in the history
  9. Shell syntax

    bsolomon1124 committed May 24, 2020
    Copy the full SHA
    3165b50 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    2a2bfc6 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    115228c View commit details
    Browse the repository at this point in the history

Commits on May 27, 2020

  1. Copy the full SHA
    59bcd38 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    75ccf4c View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    3ad7bb0 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2020

  1. Copy the full SHA
    3108af5 View commit details
    Browse the repository at this point in the history
  2. Fix ternary

    bsolomon1124 committed May 28, 2020
    Copy the full SHA
    9803591 View commit details
    Browse the repository at this point in the history
  3. Revert "Fix ternary"

    This reverts commit 9803591.
    bsolomon1124 committed May 28, 2020
    Copy the full SHA
    dee7252 View commit details
    Browse the repository at this point in the history
  4. Revert "Specify USE_CYTHON for build"

    This reverts commit 3108af5.
    bsolomon1124 committed May 28, 2020
    Copy the full SHA
    57cb517 View commit details
    Browse the repository at this point in the history
  5. Revert "Make build_ext happy with package structure"

    This reverts commit 3ad7bb0.
    bsolomon1124 committed May 28, 2020
    Copy the full SHA
    76d7f19 View commit details
    Browse the repository at this point in the history
  6. Revert "[snapshot] Simplify setup.py per 'Distributing Cython modules…

    …' documentation"
    
    This reverts commit 75ccf4c.
    bsolomon1124 committed May 28, 2020
    Copy the full SHA
    f69087c View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    46eed93 View commit details
    Browse the repository at this point in the history
  8. Update extension path

    bsolomon1124 committed May 28, 2020
    Copy the full SHA
    c0180aa View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    d6f7f87 View commit details
    Browse the repository at this point in the history
  10. Build MacOS wheels

    bsolomon1124 committed May 28, 2020
    Copy the full SHA
    cb71ba5 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    c2203e7 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    6269678 View commit details
    Browse the repository at this point in the history
  13. Put _yaml stub under lib/ to aggree with package_dir

    setup.py specifies package_dir with '' (root) key
    pointing to lib.
    bsolomon1124 committed May 28, 2020
    Copy the full SHA
    8e9cebe View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    393985f View commit details
    Browse the repository at this point in the history
  15. No ldconfig on MacOS

    bsolomon1124 committed May 28, 2020
    Copy the full SHA
    ee1dc2b View commit details
    Browse the repository at this point in the history
  16. Don't use -m flag when not in virtual env

    Otherwise, the delocate commands and other
    console scripts are not in PATH.
    
    Background described in:
    pyenv/pyenv#1626
    bsolomon1124 committed May 28, 2020
    Copy the full SHA
    b509351 View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    54abbdc View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    02de749 View commit details
    Browse the repository at this point in the history
  19. Remove verbose flag when removing temp dir

    Not really helpful to see a bunch of crap under /var
    or /tmp.
    bsolomon1124 committed May 28, 2020
    Copy the full SHA
    6ecc19d View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2020

  1. Copy the full SHA
    4f9aae0 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    71fe365 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c781067 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2020

  1. Fix brew flag

    bsolomon1124 committed Jun 5, 2020
    Copy the full SHA
    f6225d2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    510d297 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    27a27ce View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    6656bd7 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    c577b2f View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    007869b View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    9dba870 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2020

  1. CI to GHA, wheel builds

    * manylinux, macos
    nitzmahone committed Dec 11, 2020
    Copy the full SHA
    473a885 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2020

  1. Copy the full SHA
    6a292fa View commit details
    Browse the repository at this point in the history
  2. Windows tweaks

    nitzmahone committed Dec 12, 2020
    Copy the full SHA
    6c9faab View commit details
    Browse the repository at this point in the history