From f1f9dfd19183a7f37e107d61023809a64ac49a3a Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 1 May 2023 15:12:34 -0700 Subject: [PATCH 01/20] CI: Add job to validate conda-forge meta.yaml --- .github/workflows/package-checks.yml | 41 +++++++++++-- ci/meta.yaml | 88 ++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 4 deletions(-) create mode 100644 ci/meta.yaml diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 7130bed21d5ff..87ea52aaf62b2 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -14,6 +14,10 @@ on: permissions: contents: read +defaults: + run: + shell: bash -el {0} + jobs: pip: if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}} @@ -44,9 +48,38 @@ jobs: run: | python -m pip install --upgrade pip setuptools wheel python-dateutil pytz numpy cython python -m pip install versioneer[toml] - shell: bash -el {0} - name: Pip install with extra - run: | - python -m pip install -e .[${{ matrix.extra }}] --no-build-isolation - shell: bash -el {0} + run: python -m pip install -e .[${{ matrix.extra }}] --no-build-isolation + conda_forge_recipe: + if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}} + runs-on: ubuntu-22.04 + name: Test Conda Forge Recipe + concurrency: + # https://github.community/t/concurrecy-not-work-for-push/183068/7 + group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-conda-forge-recipe + cancel-in-progress: true + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Set up Python + uses: mamba-org/provision-with-micromamba@v15 + with: + environment-file: false + environment-name: recipe-test + extra-specs: | + python=3.11 + boa + conda-verify + channels: conda-forge + cache-downloads: true + cache-env: true + + - name: Verify Recipe + run: conda-verify ci/meta.yaml + + - name: Build conda package: + run: conda mambabuild ci/meta.yaml --no-anaconda-upload --verify --test diff --git a/ci/meta.yaml b/ci/meta.yaml new file mode 100644 index 0000000000000..a2633b36a974a --- /dev/null +++ b/ci/meta.yaml @@ -0,0 +1,88 @@ +{% set version = "2.0.1" %} + +package: + name: pandas + version: {{ version }} + +source: + url: https://github.com/pandas-dev/pandas/releases/download/v{{ version }}/pandas-{{ version }}.tar.gz + sha256: 19b8e5270da32b41ebf12f0e7165efa7024492e9513fb46fb631c5022ae5709d + +build: + number: 0 + script: + - export PYTHONUNBUFFERED=1 # [ppc64le] + - {{ PYTHON }} -m pip install -vv --no-deps --ignore-installed . # [not unix] + - {{ PYTHON }} -m pip install -vv --no-deps --ignore-installed . --global-option="build_ext" --global-option="-j4" --no-use-pep517 # [unix] + skip: true # [py<39] + +requirements: + build: + - python # [build_platform != target_platform] + - cross-python_{{ target_platform }} # [build_platform != target_platform] + - cython # [build_platform != target_platform] + - numpy # [build_platform != target_platform] + - {{ compiler('c') }} + - {{ compiler('cxx') }} + host: + - python + - pip + - setuptools >=61.0.0 + - cython >=0.29.33,<3 + - numpy >=1.21.6 # [py<311] + - numpy >=1.23.2 # [py>=311] + - versioneer + - tomli # [py<311] + run: + - python + - {{ pin_compatible('numpy') }} + - python-dateutil >=2.8.2 + - pytz >=2020.1 + - python-tzdata >=2022.1 + +test: + imports: + - pandas + commands: + - pip check + # Skip test suite on PyPy as it segfaults there + # xref: https://github.com/conda-forge/pandas-feedstock/issues/148 + # + # Also skip `test_rolling_var_numerical_issues` on `ppc64le` as it is a known test failure. + # xref: https://github.com/conda-forge/pandas-feedstock/issues/149 + {% set markers = ["not clipboard", "not single_cpu", "not db", "not network", not slow] %} + {% set markers = markers + ["not arm_slow"] %} # [aarch64 or ppc64le] + {% set extra_args = ["-n=2 -m " + " and ".join(markers)] %} + {% set extra_args = extra_args + ["-k not test_rolling_var_numerical_issues"] %} # [ppc64le] + - python -c "import pandas; pandas.test(extra_args={{ extra_args }})" # [python_impl == "cpython"] + requires: + - pip + - pytest >=7.0.0 + - pytest-asyncio >=0.17.0 + - pytest-xdist >=2.2.0 + - pytest-cov + - hypothesis >=6.46.1 + - tomli # [py<311] + +about: + home: http://pandas.pydata.org + license: BSD-3-Clause + license_file: LICENSE + summary: Powerful data structures for data analysis, time series, and statistics + doc_url: https://pandas.pydata.org/docs/ + dev_url: https://github.com/pandas-dev/pandas + +extra: + recipe-maintainers: + - jreback + - jorisvandenbossche + - msarahan + - ocefpaf + - TomAugspurger + - WillAyd + - simonjayhawkins + - mroeschke + - datapythonista + - phofl + - lithomas1 + - marcogorelli From d685ae09315ea6d4a8ece04b9e571ccab84f36ef Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 1 May 2023 16:13:03 -0700 Subject: [PATCH 02/20] Rename file, test from git --- .github/workflows/package-checks.yml | 16 ++++++++-------- ci/{meta.yaml => conda-recipe.yaml} | 3 +-- 2 files changed, 9 insertions(+), 10 deletions(-) rename ci/{meta.yaml => conda-recipe.yaml} (93%) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 87ea52aaf62b2..c36d6de252458 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -2,13 +2,13 @@ name: Package Checks on: push: - branches: - - main - - 2.0.x + # branches: + # - main + # - 2.0.x pull_request: - branches: - - main - - 2.0.x + # branches: + # - main + # - 2.0.x types: [ labeled, opened, synchronize, reopened ] permissions: @@ -79,7 +79,7 @@ jobs: cache-env: true - name: Verify Recipe - run: conda-verify ci/meta.yaml + run: conda-verify ci/conda-recipe.yaml - name: Build conda package: - run: conda mambabuild ci/meta.yaml --no-anaconda-upload --verify --test + run: conda mambabuild ci/conda-recipe.yaml --no-anaconda-upload --verify --test diff --git a/ci/meta.yaml b/ci/conda-recipe.yaml similarity index 93% rename from ci/meta.yaml rename to ci/conda-recipe.yaml index a2633b36a974a..9121b837d87f2 100644 --- a/ci/meta.yaml +++ b/ci/conda-recipe.yaml @@ -5,8 +5,7 @@ package: version: {{ version }} source: - url: https://github.com/pandas-dev/pandas/releases/download/v{{ version }}/pandas-{{ version }}.tar.gz - sha256: 19b8e5270da32b41ebf12f0e7165efa7024492e9513fb46fb631c5022ae5709d + git_url: ../.. build: number: 0 From 910c315df48212fdaf86f01945bf496eb5281aff Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 1 May 2023 16:36:32 -0700 Subject: [PATCH 03/20] Fix typo --- .github/workflows/package-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index c36d6de252458..a24d6baeadd8b 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -81,5 +81,5 @@ jobs: - name: Verify Recipe run: conda-verify ci/conda-recipe.yaml - - name: Build conda package: + - name: Build conda package run: conda mambabuild ci/conda-recipe.yaml --no-anaconda-upload --verify --test From 5f92a26546d4eacf5ee7112266bdaa32b7be3526 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 1 May 2023 17:38:53 -0700 Subject: [PATCH 04/20] fix concurrency --- .github/workflows/package-checks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index a24d6baeadd8b..58a0daaf9c758 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -56,9 +56,9 @@ jobs: runs-on: ubuntu-22.04 name: Test Conda Forge Recipe concurrency: - # https://github.community/t/concurrecy-not-work-for-push/183068/7 - group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-conda-forge-recipe - cancel-in-progress: true + # https://github.community/t/concurrecy-not-work-for-push/183068/7 + group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-conda-forge-recipe + cancel-in-progress: true steps: - name: Checkout uses: actions/checkout@v3 From ba5cf166701e3294a17bee4f1016de0f1d02aa39 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 1 May 2023 18:18:39 -0700 Subject: [PATCH 05/20] rename to meta.yaml, test over python versions --- .github/workflows/package-checks.yml | 10 +++++++--- ci/{conda-recipe.yaml => meta.yaml} | 0 2 files changed, 7 insertions(+), 3 deletions(-) rename ci/{conda-recipe.yaml => meta.yaml} (100%) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 58a0daaf9c758..5b265d5d9a96b 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -54,6 +54,10 @@ jobs: conda_forge_recipe: if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}} runs-on: ubuntu-22.04 + strategy: + matrix: + python-version: ['3.9', '3.10', '3.11'] + fail-fast: false name: Test Conda Forge Recipe concurrency: # https://github.community/t/concurrecy-not-work-for-push/183068/7 @@ -71,7 +75,7 @@ jobs: environment-file: false environment-name: recipe-test extra-specs: | - python=3.11 + python=${{ matrix.python-version }} boa conda-verify channels: conda-forge @@ -79,7 +83,7 @@ jobs: cache-env: true - name: Verify Recipe - run: conda-verify ci/conda-recipe.yaml + run: conda-verify ci/ - name: Build conda package - run: conda mambabuild ci/conda-recipe.yaml --no-anaconda-upload --verify --test + run: conda mambabuild ci/meta.yaml --no-anaconda-upload --verify --test diff --git a/ci/conda-recipe.yaml b/ci/meta.yaml similarity index 100% rename from ci/conda-recipe.yaml rename to ci/meta.yaml From 2fc5554aa25ab83278b4269ddeb5300560e17106 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 1 May 2023 18:27:40 -0700 Subject: [PATCH 06/20] Fix recipe, add python version to job name --- .github/workflows/package-checks.yml | 2 +- ci/meta.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 5b265d5d9a96b..779e53ec88e22 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -58,7 +58,7 @@ jobs: matrix: python-version: ['3.9', '3.10', '3.11'] fail-fast: false - name: Test Conda Forge Recipe + name: Test Conda Forge Recipe - Python ${{ matrix.python-version }} concurrency: # https://github.community/t/concurrecy-not-work-for-push/183068/7 group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-conda-forge-recipe diff --git a/ci/meta.yaml b/ci/meta.yaml index 9121b837d87f2..744ccb0fa5bab 100644 --- a/ci/meta.yaml +++ b/ci/meta.yaml @@ -49,7 +49,7 @@ test: # # Also skip `test_rolling_var_numerical_issues` on `ppc64le` as it is a known test failure. # xref: https://github.com/conda-forge/pandas-feedstock/issues/149 - {% set markers = ["not clipboard", "not single_cpu", "not db", "not network", not slow] %} + {% set markers = ["not clipboard", "not single_cpu", "not db", "not network", "not slow"] %} {% set markers = markers + ["not arm_slow"] %} # [aarch64 or ppc64le] {% set extra_args = ["-n=2 -m " + " and ".join(markers)] %} {% set extra_args = extra_args + ["-k not test_rolling_var_numerical_issues"] %} # [ppc64le] From 6fefa26eb0418caa91634754831377a025f2a0c3 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 1 May 2023 18:33:38 -0700 Subject: [PATCH 07/20] Try using mambabuild verify directly --- .github/workflows/package-checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 779e53ec88e22..836cfd1a6b137 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -82,8 +82,8 @@ jobs: cache-downloads: true cache-env: true - - name: Verify Recipe - run: conda-verify ci/ + # - name: Verify Recipe + # run: conda-verify ci/ - name: Build conda package run: conda mambabuild ci/meta.yaml --no-anaconda-upload --verify --test From c49b257b6893195dc79ccf21c00d545b8ae33efc Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 1 May 2023 18:51:29 -0700 Subject: [PATCH 08/20] seperate test from build --- .github/workflows/package-checks.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 836cfd1a6b137..4a972f0d27dcd 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -86,4 +86,7 @@ jobs: # run: conda-verify ci/ - name: Build conda package - run: conda mambabuild ci/meta.yaml --no-anaconda-upload --verify --test + run: conda mambabuild ci --no-anaconda-upload --verify --output --output-folder . + + - name: Test conda package + run: conda mambabuild --test --keep-going . From 0ce0df5946b78a5346c2cf162d15bc41a88ad906 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 1 May 2023 19:13:44 -0700 Subject: [PATCH 09/20] Add check, and save to specific output location --- .github/workflows/package-checks.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 4a972f0d27dcd..e941491f6ed2c 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -82,11 +82,13 @@ jobs: cache-downloads: true cache-env: true - # - name: Verify Recipe - # run: conda-verify ci/ + - name: Verify Recipe + run: conda mambabuild ci --check - name: Build conda package - run: conda mambabuild ci --no-anaconda-upload --verify --output --output-folder . + run: | + mkdir package + conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder package - name: Test conda package - run: conda mambabuild --test --keep-going . + run: conda mambabuild --keep-going --test package From 6ec37513430df73be9896c063c376572c31bbcdc Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 1 May 2023 19:19:14 -0700 Subject: [PATCH 10/20] Skip verify step --- .github/workflows/package-checks.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index e941491f6ed2c..1caf3b70d2e58 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -82,9 +82,6 @@ jobs: cache-downloads: true cache-env: true - - name: Verify Recipe - run: conda mambabuild ci --check - - name: Build conda package run: | mkdir package From bca9b10ca8f0b392575095d470ee085ccd028e1f Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 1 May 2023 19:37:26 -0700 Subject: [PATCH 11/20] Check if it's in package --- .github/workflows/package-checks.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 1caf3b70d2e58..9502bd034cf49 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -88,4 +88,6 @@ jobs: conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder package - name: Test conda package - run: conda mambabuild --keep-going --test package + run: | + ls package + conda mambabuild --keep-going --test package From 853cceae9f05b8bb8e0486de4b6334717136b51e Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Tue, 2 May 2023 13:05:04 -0700 Subject: [PATCH 12/20] Try specifying another folder --- .github/workflows/package-checks.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 9502bd034cf49..eae66e8e31675 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -83,11 +83,7 @@ jobs: cache-env: true - name: Build conda package - run: | - mkdir package - conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder package + run: conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder . - name: Test conda package - run: | - ls package - conda mambabuild --keep-going --test package + run: conda mambabuild --keep-going --test linux-64 From 7223d10f6b70f9c614eebc88607097094c62ba81 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Tue, 2 May 2023 13:43:47 -0700 Subject: [PATCH 13/20] Try local --- .github/workflows/package-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index eae66e8e31675..7f5a83b83f04e 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -86,4 +86,4 @@ jobs: run: conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder . - name: Test conda package - run: conda mambabuild --keep-going --test linux-64 + run: conda mambabuild --keep-going --test . From ef4c1207f22473d3b12efb4bb77a502d85726f59 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Tue, 2 May 2023 14:03:01 -0700 Subject: [PATCH 14/20] Give full path? --- .github/workflows/package-checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 7f5a83b83f04e..1074cbc8fa6e1 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -83,7 +83,7 @@ jobs: cache-env: true - name: Build conda package - run: conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder . + run: conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder . | tee /var/tmp/build.log - name: Test conda package - run: conda mambabuild --keep-going --test . + run: conda mambabuild --keep-going --test $(tail -1 /var/tmp/build.log) From 4186ef34b6cc263fa3d7622760023ccc6861e3c3 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Tue, 2 May 2023 14:13:26 -0700 Subject: [PATCH 15/20] Check where the package is --- .github/workflows/package-checks.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 1074cbc8fa6e1..4c8d020348dc8 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -86,4 +86,6 @@ jobs: run: conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder . | tee /var/tmp/build.log - name: Test conda package - run: conda mambabuild --keep-going --test $(tail -1 /var/tmp/build.log) + run: | + ls + ls ci From b5c30c6fa3b86519cdbb4e3a9e228ec07cfed14a Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Tue, 2 May 2023 14:30:09 -0700 Subject: [PATCH 16/20] Whats in noarch? --- .github/workflows/package-checks.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 4c8d020348dc8..161446a7db4c8 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -87,5 +87,4 @@ jobs: - name: Test conda package run: | - ls - ls ci + ls noarch From f4d0eb1482c1b0e8e2396c248f80aca931acb63c Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Tue, 2 May 2023 14:38:15 -0700 Subject: [PATCH 17/20] check linux-64 --- .github/workflows/package-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 161446a7db4c8..4f35a17aac9bd 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -87,4 +87,4 @@ jobs: - name: Test conda package run: | - ls noarch + ls linux-64 From 9a7caecc521706a3dfb941d636ba95ade829562c Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Tue, 2 May 2023 14:48:26 -0700 Subject: [PATCH 18/20] Skip --test --- .github/workflows/package-checks.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 4f35a17aac9bd..f2c397632efd1 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -61,7 +61,7 @@ jobs: name: Test Conda Forge Recipe - Python ${{ matrix.python-version }} concurrency: # https://github.community/t/concurrecy-not-work-for-push/183068/7 - group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-conda-forge-recipe + group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-conda-forge-recipe-${{ matrix.python-version }} cancel-in-progress: true steps: - name: Checkout @@ -83,8 +83,4 @@ jobs: cache-env: true - name: Build conda package - run: conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder . | tee /var/tmp/build.log - - - name: Test conda package - run: | - ls linux-64 + run: conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder . From 2a8f931147994edf1b713ebbfedee03bac912a68 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Tue, 2 May 2023 17:22:26 -0700 Subject: [PATCH 19/20] only run during main and 2.0 checks --- .github/workflows/package-checks.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index f2c397632efd1..712deda729e50 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -2,13 +2,13 @@ name: Package Checks on: push: - # branches: - # - main - # - 2.0.x + branches: + - main + - 2.0.x pull_request: - # branches: - # - main - # - 2.0.x + branches: + - main + - 2.0.x types: [ labeled, opened, synchronize, reopened ] permissions: From 693dd9b1dd7d6947bcb3f5684dd3c8dd8aeb320f Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 8 May 2023 09:58:15 -0700 Subject: [PATCH 20/20] update meta --- ci/meta.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ci/meta.yaml b/ci/meta.yaml index 744ccb0fa5bab..f02c7eec001fc 100644 --- a/ci/meta.yaml +++ b/ci/meta.yaml @@ -8,7 +8,7 @@ source: git_url: ../.. build: - number: 0 + number: 1 script: - export PYTHONUNBUFFERED=1 # [ppc64le] - {{ PYTHON }} -m pip install -vv --no-deps --ignore-installed . # [not unix] @@ -52,7 +52,13 @@ test: {% set markers = ["not clipboard", "not single_cpu", "not db", "not network", "not slow"] %} {% set markers = markers + ["not arm_slow"] %} # [aarch64 or ppc64le] {% set extra_args = ["-n=2 -m " + " and ".join(markers)] %} - {% set extra_args = extra_args + ["-k not test_rolling_var_numerical_issues"] %} # [ppc64le] + {% set tests_to_skip = "_not_a_real_test" %} + {% set tests_to_skip = tests_to_skip + " or test_rolling_var_numerical_issues" %} # [ppc64le] + {% set tests_to_skip = tests_to_skip + " or test_std_timedelta64_skipna_false" %} # [ppc64le] + {% set tests_to_skip = tests_to_skip + " or test_value_counts_normalized[M8[ns]]" %} # [ppc64le] + {% set tests_to_skip = tests_to_skip + " or test_to_datetime_format_YYYYMMDD_with_nat" %} # [ppc64le] + {% set tests_to_skip = tests_to_skip + " or (TestReductions and test_median_2d)" %} # [ppc64le] + {% set extra_args = extra_args + ["-k", "not (" + tests_to_skip + ")"] %} - python -c "import pandas; pandas.test(extra_args={{ extra_args }})" # [python_impl == "cpython"] requires: - pip