diff --git a/.ci_support/linux_64_numpy1.18python3.7.____cpythonpython_implcpython.yaml b/.ci_support/linux_64_numpy1.18python3.7.____cpythonpython_implcpython.yaml index 73ba4a6..0ebf320 100644 --- a/.ci_support/linux_64_numpy1.18python3.7.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_64_numpy1.18python3.7.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler_version: cdt_name: - cos6 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -16,6 +16,8 @@ docker_image: - quay.io/condaforge/linux-anvil-comp7 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/linux_64_numpy1.18python3.8.____cpythonpython_implcpython.yaml b/.ci_support/linux_64_numpy1.18python3.8.____cpythonpython_implcpython.yaml index 576a9fc..9118e3e 100644 --- a/.ci_support/linux_64_numpy1.18python3.8.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_64_numpy1.18python3.8.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler_version: cdt_name: - cos6 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -16,6 +16,8 @@ docker_image: - quay.io/condaforge/linux-anvil-comp7 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/linux_64_numpy1.19python3.7.____73_pypypython_implpypy.yaml b/.ci_support/linux_64_numpy1.19python3.7.____73_pypypython_implpypy.yaml index b815e7c..bd1b8ec 100644 --- a/.ci_support/linux_64_numpy1.19python3.7.____73_pypypython_implpypy.yaml +++ b/.ci_support/linux_64_numpy1.19python3.7.____73_pypypython_implpypy.yaml @@ -5,7 +5,7 @@ c_compiler_version: cdt_name: - cos6 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -16,6 +16,8 @@ docker_image: - quay.io/condaforge/linux-anvil-comp7 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/linux_64_numpy1.19python3.9.____cpythonpython_implcpython.yaml b/.ci_support/linux_64_numpy1.19python3.9.____cpythonpython_implcpython.yaml index 74b2e3f..a694154 100644 --- a/.ci_support/linux_64_numpy1.19python3.9.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_64_numpy1.19python3.9.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler_version: cdt_name: - cos6 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -16,6 +16,8 @@ docker_image: - quay.io/condaforge/linux-anvil-comp7 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/linux_64_numpy1.18python3.6.____cpythonpython_implcpython.yaml b/.ci_support/linux_64_numpy1.21python3.10.____cpythonpython_implcpython.yaml similarity index 89% rename from .ci_support/linux_64_numpy1.18python3.6.____cpythonpython_implcpython.yaml rename to .ci_support/linux_64_numpy1.21python3.10.____cpythonpython_implcpython.yaml index 3ed34d9..109ea5f 100644 --- a/.ci_support/linux_64_numpy1.18python3.6.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_64_numpy1.21python3.10.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler_version: cdt_name: - cos6 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -16,10 +16,12 @@ docker_image: - quay.io/condaforge/linux-anvil-comp7 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: -- '1.18' +- '1.21' pin_run_as_build: gmp: max_pin: x @@ -29,7 +31,7 @@ pin_run_as_build: min_pin: x.x max_pin: x.x python: -- 3.6.* *_cpython +- 3.10.* *_cpython python_impl: - cpython target_platform: diff --git a/.ci_support/linux_aarch64_numpy1.18python3.7.____cpythonpython_implcpython.yaml b/.ci_support/linux_aarch64_numpy1.18python3.7.____cpythonpython_implcpython.yaml index 14de8ac..79663a0 100644 --- a/.ci_support/linux_aarch64_numpy1.18python3.7.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_aarch64_numpy1.18python3.7.____cpythonpython_implcpython.yaml @@ -20,6 +20,8 @@ docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/linux_aarch64_numpy1.18python3.8.____cpythonpython_implcpython.yaml b/.ci_support/linux_aarch64_numpy1.18python3.8.____cpythonpython_implcpython.yaml index 18ae7eb..cd6d8d0 100644 --- a/.ci_support/linux_aarch64_numpy1.18python3.8.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_aarch64_numpy1.18python3.8.____cpythonpython_implcpython.yaml @@ -20,6 +20,8 @@ docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/linux_aarch64_numpy1.19python3.9.____cpythonpython_implcpython.yaml b/.ci_support/linux_aarch64_numpy1.19python3.9.____cpythonpython_implcpython.yaml index d620a0d..c9a3f99 100644 --- a/.ci_support/linux_aarch64_numpy1.19python3.9.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_aarch64_numpy1.19python3.9.____cpythonpython_implcpython.yaml @@ -20,6 +20,8 @@ docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/linux_aarch64_numpy1.18python3.6.____cpythonpython_implcpython.yaml b/.ci_support/linux_aarch64_numpy1.21python3.10.____cpythonpython_implcpython.yaml similarity index 92% rename from .ci_support/linux_aarch64_numpy1.18python3.6.____cpythonpython_implcpython.yaml rename to .ci_support/linux_aarch64_numpy1.21python3.10.____cpythonpython_implcpython.yaml index 6e65923..f8937ef 100644 --- a/.ci_support/linux_aarch64_numpy1.18python3.6.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_aarch64_numpy1.21python3.10.____cpythonpython_implcpython.yaml @@ -20,10 +20,12 @@ docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: -- '1.18' +- '1.21' pin_run_as_build: gmp: max_pin: x @@ -33,7 +35,7 @@ pin_run_as_build: min_pin: x.x max_pin: x.x python: -- 3.6.* *_cpython +- 3.10.* *_cpython python_impl: - cpython target_platform: diff --git a/.ci_support/linux_ppc64le_numpy1.18python3.7.____cpythonpython_implcpython.yaml b/.ci_support/linux_ppc64le_numpy1.18python3.7.____cpythonpython_implcpython.yaml index c357b4b..832eb5d 100644 --- a/.ci_support/linux_ppc64le_numpy1.18python3.7.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_ppc64le_numpy1.18python3.7.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler_version: cdt_name: - cos7 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -16,6 +16,8 @@ docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/linux_ppc64le_numpy1.18python3.8.____cpythonpython_implcpython.yaml b/.ci_support/linux_ppc64le_numpy1.18python3.8.____cpythonpython_implcpython.yaml index 04cce49..35374a8 100644 --- a/.ci_support/linux_ppc64le_numpy1.18python3.8.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_ppc64le_numpy1.18python3.8.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler_version: cdt_name: - cos7 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -16,6 +16,8 @@ docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/linux_ppc64le_numpy1.19python3.9.____cpythonpython_implcpython.yaml b/.ci_support/linux_ppc64le_numpy1.19python3.9.____cpythonpython_implcpython.yaml index 174986d..0f19571 100644 --- a/.ci_support/linux_ppc64le_numpy1.19python3.9.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_ppc64le_numpy1.19python3.9.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler_version: cdt_name: - cos7 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -16,6 +16,8 @@ docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/linux_ppc64le_numpy1.18python3.6.____cpythonpython_implcpython.yaml b/.ci_support/linux_ppc64le_numpy1.21python3.10.____cpythonpython_implcpython.yaml similarity index 89% rename from .ci_support/linux_ppc64le_numpy1.18python3.6.____cpythonpython_implcpython.yaml rename to .ci_support/linux_ppc64le_numpy1.21python3.10.____cpythonpython_implcpython.yaml index ff4ee97..de4b1a7 100644 --- a/.ci_support/linux_ppc64le_numpy1.18python3.6.____cpythonpython_implcpython.yaml +++ b/.ci_support/linux_ppc64le_numpy1.21python3.10.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler_version: cdt_name: - cos7 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -16,10 +16,12 @@ docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: -- '1.18' +- '1.21' pin_run_as_build: gmp: max_pin: x @@ -29,7 +31,7 @@ pin_run_as_build: min_pin: x.x max_pin: x.x python: -- 3.6.* *_cpython +- 3.10.* *_cpython python_impl: - cpython target_platform: diff --git a/.ci_support/migrations/python310.yaml b/.ci_support/migrations/python310.yaml new file mode 100644 index 0000000..f61ae7a --- /dev/null +++ b/.ci_support/migrations/python310.yaml @@ -0,0 +1,33 @@ +migrator_ts: 1634137107 +__migrator: + migration_number: 1 + operation: key_add + primary_key: python + ordering: + python: + - 3.6.* *_cpython + - 3.7.* *_cpython + - 3.8.* *_cpython + - 3.9.* *_cpython + - 3.10.* *_cpython # new entry + - 3.6.* *_73_pypy + - 3.7.* *_73_pypy + paused: false + longterm: True + pr_limit: 40 + exclude: + # this shouldn't attempt to modify the python feedstocks + - python + - pypy3.6 + - pypy-meta + - cross-python + - python_abi + exclude_pinned_pkgs: false + +python: + - 3.10.* *_cpython +# additional entries to add for zip_keys +numpy: + - 1.21 +python_impl: + - cpython diff --git a/.ci_support/osx_64_numpy1.18python3.7.____cpythonpython_implcpython.yaml b/.ci_support/osx_64_numpy1.18python3.7.____cpythonpython_implcpython.yaml index c553f7f..4dce420 100644 --- a/.ci_support/osx_64_numpy1.18python3.7.____cpythonpython_implcpython.yaml +++ b/.ci_support/osx_64_numpy1.18python3.7.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler: c_compiler_version: - '11' channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -14,6 +14,8 @@ cxx_compiler_version: - '11' gmp: - '6' +libflint: +- '2.8' macos_machine: - x86_64-apple-darwin13.4.0 mpfr: diff --git a/.ci_support/osx_64_numpy1.18python3.8.____cpythonpython_implcpython.yaml b/.ci_support/osx_64_numpy1.18python3.8.____cpythonpython_implcpython.yaml index 188c7e4..f8e3a16 100644 --- a/.ci_support/osx_64_numpy1.18python3.8.____cpythonpython_implcpython.yaml +++ b/.ci_support/osx_64_numpy1.18python3.8.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler: c_compiler_version: - '11' channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -14,6 +14,8 @@ cxx_compiler_version: - '11' gmp: - '6' +libflint: +- '2.8' macos_machine: - x86_64-apple-darwin13.4.0 mpfr: diff --git a/.ci_support/osx_64_numpy1.19python3.7.____73_pypypython_implpypy.yaml b/.ci_support/osx_64_numpy1.19python3.7.____73_pypypython_implpypy.yaml index 7900996..d804342 100644 --- a/.ci_support/osx_64_numpy1.19python3.7.____73_pypypython_implpypy.yaml +++ b/.ci_support/osx_64_numpy1.19python3.7.____73_pypypython_implpypy.yaml @@ -5,7 +5,7 @@ c_compiler: c_compiler_version: - '11' channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -14,6 +14,8 @@ cxx_compiler_version: - '11' gmp: - '6' +libflint: +- '2.8' macos_machine: - x86_64-apple-darwin13.4.0 mpfr: diff --git a/.ci_support/osx_64_numpy1.19python3.9.____cpythonpython_implcpython.yaml b/.ci_support/osx_64_numpy1.19python3.9.____cpythonpython_implcpython.yaml index 42e56dd..a6d9ad0 100644 --- a/.ci_support/osx_64_numpy1.19python3.9.____cpythonpython_implcpython.yaml +++ b/.ci_support/osx_64_numpy1.19python3.9.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler: c_compiler_version: - '11' channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -14,6 +14,8 @@ cxx_compiler_version: - '11' gmp: - '6' +libflint: +- '2.8' macos_machine: - x86_64-apple-darwin13.4.0 mpfr: diff --git a/.ci_support/osx_64_numpy1.18python3.6.____cpythonpython_implcpython.yaml b/.ci_support/osx_64_numpy1.21python3.10.____cpythonpython_implcpython.yaml similarity index 89% rename from .ci_support/osx_64_numpy1.18python3.6.____cpythonpython_implcpython.yaml rename to .ci_support/osx_64_numpy1.21python3.10.____cpythonpython_implcpython.yaml index 9ff2550..aa65e33 100644 --- a/.ci_support/osx_64_numpy1.18python3.6.____cpythonpython_implcpython.yaml +++ b/.ci_support/osx_64_numpy1.21python3.10.____cpythonpython_implcpython.yaml @@ -5,7 +5,7 @@ c_compiler: c_compiler_version: - '11' channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -14,12 +14,14 @@ cxx_compiler_version: - '11' gmp: - '6' +libflint: +- '2.8' macos_machine: - x86_64-apple-darwin13.4.0 mpfr: - '4' numpy: -- '1.18' +- '1.21' pin_run_as_build: gmp: max_pin: x @@ -29,7 +31,7 @@ pin_run_as_build: min_pin: x.x max_pin: x.x python: -- 3.6.* *_cpython +- 3.10.* *_cpython python_impl: - cpython target_platform: diff --git a/.ci_support/osx_arm64_python3.8.____cpython.yaml b/.ci_support/osx_arm64_numpy1.19python3.8.____cpython.yaml similarity index 92% rename from .ci_support/osx_arm64_python3.8.____cpython.yaml rename to .ci_support/osx_arm64_numpy1.19python3.8.____cpython.yaml index 36b72bc..dc2dfaa 100644 --- a/.ci_support/osx_arm64_python3.8.____cpython.yaml +++ b/.ci_support/osx_arm64_numpy1.19python3.8.____cpython.yaml @@ -5,7 +5,7 @@ c_compiler: c_compiler_version: - '11' channel_sources: -- conda-forge/label/rust_dev,conda-forge +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -14,6 +14,8 @@ cxx_compiler_version: - '11' gmp: - '6' +libflint: +- '2.8' macos_machine: - arm64-apple-darwin20.0.0 mpfr: diff --git a/.ci_support/osx_arm64_python3.9.____cpython.yaml b/.ci_support/osx_arm64_numpy1.19python3.9.____cpython.yaml similarity index 92% rename from .ci_support/osx_arm64_python3.9.____cpython.yaml rename to .ci_support/osx_arm64_numpy1.19python3.9.____cpython.yaml index aec0d34..1ff06b4 100644 --- a/.ci_support/osx_arm64_python3.9.____cpython.yaml +++ b/.ci_support/osx_arm64_numpy1.19python3.9.____cpython.yaml @@ -5,7 +5,7 @@ c_compiler: c_compiler_version: - '11' channel_sources: -- conda-forge/label/rust_dev,conda-forge +- conda-forge channel_targets: - isuruf test cxx_compiler: @@ -14,6 +14,8 @@ cxx_compiler_version: - '11' gmp: - '6' +libflint: +- '2.8' macos_machine: - arm64-apple-darwin20.0.0 mpfr: diff --git a/.ci_support/osx_arm64_numpy1.21python3.10.____cpython.yaml b/.ci_support/osx_arm64_numpy1.21python3.10.____cpython.yaml new file mode 100644 index 0000000..680b163 --- /dev/null +++ b/.ci_support/osx_arm64_numpy1.21python3.10.____cpython.yaml @@ -0,0 +1,44 @@ +MACOSX_DEPLOYMENT_TARGET: +- '11.0' +c_compiler: +- clang +c_compiler_version: +- '11' +channel_sources: +- conda-forge +channel_targets: +- isuruf test +cxx_compiler: +- clangxx +cxx_compiler_version: +- '11' +gmp: +- '6' +libflint: +- '2.8' +macos_machine: +- arm64-apple-darwin20.0.0 +mpfr: +- '4' +numpy: +- '1.21' +pin_run_as_build: + gmp: + max_pin: x + mpfr: + max_pin: x + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +python_impl: +- cpython +target_platform: +- osx-arm64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - python + - numpy + - python_impl diff --git a/.ci_support/win_64_numpy1.18python3.7.____cpython.yaml b/.ci_support/win_64_numpy1.18python3.7.____cpython.yaml index 5c6531f..969b15e 100644 --- a/.ci_support/win_64_numpy1.18python3.7.____cpython.yaml +++ b/.ci_support/win_64_numpy1.18python3.7.____cpython.yaml @@ -1,13 +1,15 @@ c_compiler: - vs2017 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: - vs2017 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/win_64_numpy1.18python3.8.____cpython.yaml b/.ci_support/win_64_numpy1.18python3.8.____cpython.yaml index 5b52c38..463a752 100644 --- a/.ci_support/win_64_numpy1.18python3.8.____cpython.yaml +++ b/.ci_support/win_64_numpy1.18python3.8.____cpython.yaml @@ -1,13 +1,15 @@ c_compiler: - vs2017 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: - vs2017 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/win_64_numpy1.19python3.9.____cpython.yaml b/.ci_support/win_64_numpy1.19python3.9.____cpython.yaml index 219f6f4..77b55e5 100644 --- a/.ci_support/win_64_numpy1.19python3.9.____cpython.yaml +++ b/.ci_support/win_64_numpy1.19python3.9.____cpython.yaml @@ -1,13 +1,15 @@ c_compiler: - vs2017 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: - vs2017 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: diff --git a/.ci_support/win_64_numpy1.18python3.6.____cpython.yaml b/.ci_support/win_64_numpy1.21python3.10.____cpython.yaml similarity index 84% rename from .ci_support/win_64_numpy1.18python3.6.____cpython.yaml rename to .ci_support/win_64_numpy1.21python3.10.____cpython.yaml index 50bb1a2..b1498b8 100644 --- a/.ci_support/win_64_numpy1.18python3.6.____cpython.yaml +++ b/.ci_support/win_64_numpy1.21python3.10.____cpython.yaml @@ -1,17 +1,19 @@ c_compiler: - vs2017 channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - isuruf test cxx_compiler: - vs2017 gmp: - '6' +libflint: +- '2.8' mpfr: - '4' numpy: -- '1.18' +- '1.21' pin_run_as_build: gmp: max_pin: x @@ -21,7 +23,7 @@ pin_run_as_build: min_pin: x.x max_pin: x.x python: -- 3.6.* *_cpython +- 3.10.* *_cpython python_impl: - cpython target_platform: diff --git a/.gitattributes b/.gitattributes index 9060b27..ce52713 100644 --- a/.gitattributes +++ b/.gitattributes @@ -18,6 +18,7 @@ bld.bat text eol=crlf .gitignore linguist-generated=true .travis.yml linguist-generated=true .scripts/* linguist-generated=true +.woodpecker.yml linguist-generated=true LICENSE.txt linguist-generated=true README.md linguist-generated=true azure-pipelines.yml linguist-generated=true diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml new file mode 100644 index 0000000..e8e5902 --- /dev/null +++ b/.github/workflows/automerge.yml @@ -0,0 +1,18 @@ +on: + status: {} + check_suite: + types: + - completed + +jobs: + automerge-action: + runs-on: ubuntu-latest + name: automerge + steps: + - name: checkout + uses: actions/checkout@v2 + - name: automerge-action + id: automerge-action + uses: conda-forge/automerge-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index c63b019..29a1517 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -13,10 +13,6 @@ jobs: fail-fast: false matrix: include: - - CONFIG: linux_64_numpy1.18python3.6.____cpythonpython_implcpython - UPLOAD_PACKAGES: True - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7 - os: ubuntu - CONFIG: linux_64_numpy1.18python3.7.____cpythonpython_implcpython UPLOAD_PACKAGES: True DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7 @@ -33,9 +29,9 @@ jobs: UPLOAD_PACKAGES: True DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7 os: ubuntu - - CONFIG: linux_aarch64_numpy1.18python3.6.____cpythonpython_implcpython + - CONFIG: linux_64_numpy1.21python3.10.____cpythonpython_implcpython UPLOAD_PACKAGES: True - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7 os: ubuntu - CONFIG: linux_aarch64_numpy1.18python3.7.____cpythonpython_implcpython UPLOAD_PACKAGES: True @@ -49,7 +45,7 @@ jobs: UPLOAD_PACKAGES: True DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 os: ubuntu - - CONFIG: linux_ppc64le_numpy1.18python3.6.____cpythonpython_implcpython + - CONFIG: linux_aarch64_numpy1.21python3.10.____cpythonpython_implcpython UPLOAD_PACKAGES: True DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 os: ubuntu @@ -65,9 +61,10 @@ jobs: UPLOAD_PACKAGES: True DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 os: ubuntu - - CONFIG: win_64_numpy1.18python3.6.____cpython + - CONFIG: linux_ppc64le_numpy1.21python3.10.____cpythonpython_implcpython UPLOAD_PACKAGES: True - os: windows + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + os: ubuntu - CONFIG: win_64_numpy1.18python3.7.____cpython UPLOAD_PACKAGES: True os: windows @@ -77,9 +74,9 @@ jobs: - CONFIG: win_64_numpy1.19python3.9.____cpython UPLOAD_PACKAGES: True os: windows - - CONFIG: osx_64_numpy1.18python3.6.____cpythonpython_implcpython + - CONFIG: win_64_numpy1.21python3.10.____cpython UPLOAD_PACKAGES: True - os: macos + os: windows - CONFIG: osx_64_numpy1.18python3.7.____cpythonpython_implcpython UPLOAD_PACKAGES: True os: macos @@ -92,10 +89,16 @@ jobs: - CONFIG: osx_64_numpy1.19python3.9.____cpythonpython_implcpython UPLOAD_PACKAGES: True os: macos - - CONFIG: osx_arm64_python3.8.____cpython + - CONFIG: osx_64_numpy1.21python3.10.____cpythonpython_implcpython + UPLOAD_PACKAGES: True + os: macos + - CONFIG: osx_arm64_numpy1.19python3.8.____cpython UPLOAD_PACKAGES: True os: macos - - CONFIG: osx_arm64_python3.9.____cpython + - CONFIG: osx_arm64_numpy1.19python3.9.____cpython + UPLOAD_PACKAGES: True + os: macos + - CONFIG: osx_arm64_numpy1.21python3.10.____cpython UPLOAD_PACKAGES: True os: macos steps: @@ -116,6 +119,11 @@ jobs: docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)" export GIT_BRANCH="$(basename $GITHUB_REF)" + if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then + export IS_PR_BUILD="True" + else + export IS_PR_BUILD="False" + fi echo "::endgroup::" ./.scripts/run_docker_build.sh @@ -130,6 +138,11 @@ jobs: run: | export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)" export GIT_BRANCH="$(basename $GITHUB_REF)" + if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then + export IS_PR_BUILD="True" + else + export IS_PR_BUILD="False" + fi ./.scripts/run_osx_build.sh - name: Install Miniconda for windows @@ -143,17 +156,24 @@ jobs: shell: cmd run: | call activate base - mamba.exe install -c conda-forge 'python=3.6' conda-build conda "conda-forge-ci-setup=3" pip + mamba.exe install -c conda-forge 'python=3.9' conda-build conda "conda-forge-ci-setup=3" pip boa if errorlevel 1 exit 1 setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml if errorlevel 1 exit 1 - conda.exe build "recipe" -m .ci_support\%CONFIG%.yaml + conda.exe mambabuild "recipe" -m .ci_support\%CONFIG%.yaml if errorlevel 1 exit 1 set "FEEDSTOCK_NAME=%GITHUB_REPOSITORY:*/=%" set "GIT_BRANCH=%GITHUB_REF:refs/heads/=%" + if /i "%GITHUB_EVENT_NAME%" == "pull_request" ( + set "IS_PR_BUILD=True" + ) else ( + set "IS_PR_BUILD=False" + ) if /i "%UPLOAD_PACKAGES%" == "true" ( - upload_package .\ ".\recipe" .ci_support\%CONFIG%.yaml + if /i "%IS_PR_BUILD%" == "false" ( + upload_package .\ ".\recipe" .ci_support\%CONFIG%.yaml + ) ) env: PYTHONUNBUFFERED: 1 diff --git a/.github/workflows/webservices.yml b/.github/workflows/webservices.yml new file mode 100644 index 0000000..78f51e6 --- /dev/null +++ b/.github/workflows/webservices.yml @@ -0,0 +1,12 @@ +on: repository_dispatch + +jobs: + webservices: + runs-on: ubuntu-latest + name: webservices + steps: + - name: webservices + id: webservices + uses: conda-forge/webservices-dispatch-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 747d916..58a770c 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -25,7 +25,8 @@ conda-build: root-dir: ${FEEDSTOCK_ROOT}/build_artifacts CONDARC -BUILD_CMD=build +GET_BOA=boa +BUILD_CMD=mambabuild conda install --yes --quiet "conda-forge-ci-setup=3" conda-build pip ${GET_BOA:-} -c conda-forge @@ -37,8 +38,8 @@ source run_conda_forge_build_setup # make the build number clobber make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" -if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]] && [[ "${BUILD_WITH_CONDA_DEBUG:-0}" != 1 ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" +if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]] && [[ "${HOST_PLATFORM}" != linux-* ]] && [[ "${BUILD_WITH_CONDA_DEBUG:-0}" != 1 ]]; then + EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" fi @@ -61,7 +62,7 @@ else ( startgroup "Uploading packages" ) 2> /dev/null - if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then + if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then upload_package "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" fi diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh index ba7211b..86140d6 100755 --- a/.scripts/run_docker_build.sh +++ b/.scripts/run_docker_build.sh @@ -75,12 +75,15 @@ fi ( startgroup "Start Docker" ) 2> /dev/null export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" +export IS_PR_BUILD="${IS_PR_BUILD:-False}" +docker pull "${DOCKER_IMAGE}" docker run ${DOCKER_RUN_ARGS} \ -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ -e CONFIG \ -e HOST_USER_ID \ -e UPLOAD_PACKAGES \ + -e IS_PR_BUILD \ -e GIT_BRANCH \ -e UPLOAD_ON_BRANCH \ -e CI \ @@ -89,9 +92,9 @@ docker run ${DOCKER_RUN_ARGS} \ -e BUILD_WITH_CONDA_DEBUG \ -e BUILD_OUTPUT_ID \ -e BINSTAR_TOKEN \ - $DOCKER_IMAGE \ + "${DOCKER_IMAGE}" \ bash \ - /home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh + "/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh" # verify that the end of the script was reached test -f "$DONE_CANARY" diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index 8919ae1..3fdddc9 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -9,15 +9,17 @@ MINIFORGE_HOME=${MINIFORGE_HOME:-${HOME}/miniforge3} ( startgroup "Installing a fresh version of Miniforge" ) 2> /dev/null MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download" -MINIFORGE_FILE="Miniforge3-MacOSX-x86_64.sh" +MINIFORGE_FILE="Miniforge3-MacOSX-$(uname -m).sh" curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}" +rm -rf ${MINIFORGE_HOME} bash $MINIFORGE_FILE -b -p ${MINIFORGE_HOME} ( endgroup "Installing a fresh version of Miniforge" ) 2> /dev/null ( startgroup "Configuring conda" ) 2> /dev/null -BUILD_CMD=build +GET_BOA=boa +BUILD_CMD=mambabuild source ${MINIFORGE_HOME}/etc/profile.d/conda.sh conda activate base @@ -61,7 +63,7 @@ conda $BUILD_CMD ./recipe -m ./.ci_support/${CONFIG}.yaml --suppress-variables - ( startgroup "Uploading packages" ) 2> /dev/null -if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then +if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then upload_package ./ ./recipe ./.ci_support/${CONFIG}.yaml fi diff --git a/build-locally.py b/build-locally.py index 00eeb34..8b74348 100755 --- a/build-locally.py +++ b/build-locally.py @@ -13,6 +13,7 @@ def setup_environment(ns): os.environ["CONFIG"] = ns.config os.environ["UPLOAD_PACKAGES"] = "False" + os.environ["IS_PR_BUILD"] = "True" if ns.debug: os.environ["BUILD_WITH_CONDA_DEBUG"] = "1" if ns.output_id: @@ -21,6 +22,10 @@ def setup_environment(ns): os.environ["MINIFORGE_HOME"] = os.path.join( os.path.dirname(__file__), "miniforge3" ) + if "OSX_SDK_DIR" not in os.environ: + os.environ["OSX_SDK_DIR"] = os.path.join( + os.path.dirname(__file__), "SDKs" + ) def run_docker_build(ns): diff --git a/recipe/build.sh b/recipe/build.sh index 9c2c8a9..e68a67c 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -12,6 +12,11 @@ if [[ "$target_platform" == linux-* ]]; then export LDFLAGS="$LDFLAGS -static-libstdc++ -Wl,--exclude-libs,ALL" fi +if [[ "$target_platform" == linux-ppc64le ]]; then + export CXXFLAGS="$CXXFLAGS -fplt" + export LDFLAGS="$LDFLAGS -fplt" +fi + if [[ "$CONDA_BUILD_CROSS_COMPILATION" == "1" ]]; then CMAKE_ARGS="${CMAKE_ARGS} -DBUILD_TESTS=no" fi