Skip to content

Commit

Permalink
Switch to sdist from PyPI
Browse files Browse the repository at this point in the history
This avoids having to keep track of all the git submodules manually,
and it fixes a minor bug because VCS git hash info isn't exported
correctly in the auto-generated tarballs from GitHub.
  • Loading branch information
rgommers committed Jan 4, 2025
1 parent a35df0f commit b803894
Showing 1 changed file with 2 additions and 32 deletions.
34 changes: 2 additions & 32 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,8 @@ package:
version: {{ version }}

source:
# The sdist distributed by scipy contains submodules; by taking the tarball
# from github we manually need to include the submodules (not in tarball due
# to dear-github/dear-github#214)
- url: https://github.com/scipy/scipy/archive/refs/tags/v{{ version }}.tar.gz
sha256: a9e29052fa3ebd4edd87544f5ee917bf13572321c5f6f9c8d579974cb0f06891
# https://github.com/scipy/scipy/tree/v{{ version }}/scipy/_lib
- folder: scipy/_lib/array_api_compat
git_url: https://github.com/data-apis/array-api-compat.git
git_rev: 498f086568362002185b005a0a7f38ad136ca8bb
- folder: scipy/_lib/array_api_extra
git_url: https://github.com/lucascolley/array-api-extra.git
git_rev: 8e1c8fa42df403231d65b3690e73098cfc52674a
- folder: scipy/_lib/boost_math
git_url: https://github.com/boostorg/math.git
git_rev: 260f7600e95dcf87b228d46a4a37cf594df5437b
- folder: scipy/_lib/cobyqa
git_url: https://github.com/cobyqa/cobyqa.git
git_rev: 55c8e5a5d29ba5c873d87ad27bd9cffee94ae3df
- folder: scipy/_lib/pocketfft
git_url: https://github.com/scipy/pocketfft.git
git_rev: 9367142748fcc9696a1c9e5a99b76ed9897c9daa
- folder: scipy/_lib/unuran
git_url: https://github.com/scipy/unuran.git
git_rev: 21810c856880bb2f1b3071c8ac4aaf634983b338
# https://github.com/scipy/scipy/tree/v{{ version }}/scipy/sparse/linalg/_propack
- folder: scipy/sparse/linalg/_propack/PROPACK
git_url: https://github.com/scipy/PROPACK.git
git_rev: 8a6b20767d74fe560d616d51e83e35b01bce6861
# https://github.com/scipy/scipy/tree/v{{ version }}/subprojects
- folder: subprojects/highs
git_url: https://github.com/scipy/HiGHs.git
git_rev: cc22e21d5b23db419b1b19303f453c849827f830
url: https://pypi.org/packages/source/s/scipy/scipy-{{ version }}.tar.gz
sha256: 300742e2cc94e36a2880ebe464a1c8b4352a7b0f3e36ec3d2ac006cdbe0219ac

build:
number: 0
Expand Down

0 comments on commit b803894

Please sign in to comment.