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

Update mirror for nightlies #324

Merged
merged 8 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
python-version: '3.10'

- name: Install build dependencies
run: python -m pip install setuptools setuptools-scm wheel mako numpy Cython
run: python -m pip install setuptools setuptools-scm wheel mako numpy 'Cython!=3.0.4'

- name: Build sdist
run: python setup.py sdist
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
push:
paths:
- '.github/workflows/daily.yml'

jobs:
linux-daily-unittests:
Expand All @@ -28,12 +31,13 @@ jobs:
if: matrix.NOTE == 'Nightly Builds'
shell: bash -el {0}
run: |
PRE_WHEELS="https://pypi.anaconda.org/scipy-wheels-nightly/simple"
PRE_WHEELS="https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/"
for pkg in numpy pandas scipy; do
echo "Installing $pkg nightly"
micromamba remove -y --force $pkg
pip install --pre --no-deps --only-binary :all: --upgrade --timeout=60 -i $PRE_WHEELS $pkg
done
micromamba list
- name: Install repository
shell: bash -el {0}
run: pip install --no-use-pep517 --no-deps --disable-pip-version-check -e .
Expand Down
4 changes: 2 additions & 2 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- cython # [build_platform != target_platform]
- cython !=3.0.4 # [build_platform != target_platform]
- numpy # [build_platform != target_platform]
- {{ compiler("c") }}
- {{ compiler("cxx") }}
- llvm-openmp # [osx]
- libgomp # [linux]
host:
- python
- cython
- cython !=3.0.4
- jemalloc-local # [not win]
- llvm-openmp # [osx]
- mako
Expand Down
2 changes: 1 addition & 1 deletion environment-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
# build tools
- c-compiler
- cxx-compiler
- cython
- cython !=3.0.4
- make
- mako
- mkl-include
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
# build tools
- c-compiler
- cxx-compiler
- cython
- cython !=3.0.4
- jemalloc-local
- make
- mako
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ requires = [
'wheel',
'mako',
'oldest-supported-numpy',
'Cython',
'Cython != 3.0.4',
]

[tool.black]
Expand Down