Skip to content

Commit

Permalink
BUG: fix CI of pypi & dockerhub (#777)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
luweizheng and mergify[bot] authored Jun 20, 2024
1 parent 1242066 commit 3986478
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 23 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/build-wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,14 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
arch: [auto]
requires-python: [">=3.8,<3.10", ">=3.10,<3.12"]
requires-python: [">=3.9,<3.12"]
include:
- os: ubuntu-latest
arch: aarch64
requires-python: ">=3.8,<3.9"
- os: ubuntu-latest
arch: aarch64
requires-python: ">=3.9,<3.10"
- os: ubuntu-latest
arch: aarch64
requires-python: ">=3.10,<3.11"
- os: ubuntu-latest
arch: aarch64
requires-python: ">=3.11,<3.12"
- os: macos-latest
arch: universal2
requires-python: ">=3.8,<3.10"
requires-python: ">=3.9,<3.12"
- os: macos-latest
arch: universal2
requires-python: ">=3.10,<3.12"
requires-python: ">=3.9,<3.12"

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
python-version: [ "3.9", "3.10", "3.11" ]
steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down
8 changes: 2 additions & 6 deletions CI/requirements-wheel.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
oldest-supported-numpy

pandas==1.0.4; python_version<'3.9' and platform_machine!='aarch64'
pandas==1.1.3; python_version<'3.9' and platform_machine=='aarch64'
pandas==1.2.2; python_version>='3.9' and python_version<'3.10'
pandas==1.3.4; python_version>='3.10' and python_version<'3.11'
pandas==1.5.0; python_version>='3.11'
pandas==1.5.1; python_version>='3.11' and python_version<'3.12'

numpy<2.0.0

scipy==1.4.1; python_version<'3.9' and platform_machine!='aarch64'
scipy==1.5.3; python_version<'3.9' and platform_machine=='aarch64'
scipy==1.5.4; python_version>='3.9' and python_version<'3.10'
scipy==1.7.2; python_version>='3.10' and python_version<'3.11'
scipy==1.10.0; python_version>='3.11'
scipy==1.10.0; python_version>='3.11' and python_version<'3.12'

# see: https://github.com/cython/cython/commit/afc00fc3ba5d43c67151c0039847a526e7b627a5
cython==0.29.33
Expand Down
2 changes: 1 addition & 1 deletion python/xorbits/deploy/docker/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_CONTAINER=continuumio/miniconda3:4.12.0
ARG BASE_CONTAINER=continuumio/miniconda3:23.10.0-1
ARG PYTHON_VERSION=3.9
FROM ${BASE_CONTAINER} AS base

Expand Down

0 comments on commit 3986478

Please sign in to comment.