Commit Graph

10 Commits

Author SHA1 Message Date
Hood Chatham df3a92882b
Run make -C packages update-all (#2355) 2022-04-06 21:02:21 -07:00
Hood Chatham eabfa8101e
Use pypa/build (#2272)
This resolves #2189.

> build isolation would be a bit difficult to use in our case, as for instance
> when building scipy we need the patched numpy on the host and not the numpy
> version specified in pyproject.toml (which would be unpatched)

This is indeed the case, certain packages cannot be isolated. My strategy is to
make a list of packages that shouldn't be isolated and add symlinks from the
isolated build environment into the `.artifacts` directory to "unisolate" them.
Then we remove the unisolated package requirements from the list of packages to
install, in case pesky constraints aren't satisfied. In particular, packages
that expect to be used with `pypa/build` often feel free to put very specific
constraints on their build dependencies (often asking them to be == to a
particular version). Specific version constraints is good for build
reproducibility and with build isolation doesn't cost anything. So we just
ignore the constraints. Hopefully nothing goes wrong.

In particular, any package that does stuff both at build time and at runtime and
requires synchronization between the build time and run time environments needs
the unisolation. This includes cffi with `_cffi_backend.so`, and of course numpy
and scipy. pycparser needs to be unisolated because it is a dependency of cffi.

Currently I have also unisolated pythran and cython, though these are build time
only tools and do not really need to be unisolated. Cython I unisolated
specifically because numcodecs needs it but it isn't in the numcodecs build
dependencies. Pythran I unisolated because of a problem with the scipy build
which I don't fully understand (some problem with long double feature
detection).
2022-03-21 22:05:30 -07:00
Jo Bovy 3002751887
Update astropy to 5.0.2 (#2268) 2022-03-10 21:14:49 -08:00
Jo Bovy 63161b56f5
Fix Astropy: avoid failing top level imports 2022-03-02 07:05:49 -08:00
Henry Schreiner e065454c35
chore: some package updates (#2230) 2022-02-28 20:55:28 -08:00
Hood Chatham b979a11117
Update astropy to version 5.0 (#2086)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2022-01-09 18:40:21 +01:00
Roman Yurchak d25bbb70fe
ENH Unvendor unit tests from packages (#1834) 2021-09-21 08:47:48 +02:00
Roman Yurchak 263309102d
Unvendor distutils (#1543)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2021-05-02 15:42:28 +02:00
joemarshall 1bd8380c01
Emscripten 2.0.12 Upstream backend (#1102)
Co-authored-by: Dexter Chua <dalcde@users.noreply.github.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-02-06 08:58:12 +01:00
Joseph D. Long 166b4aff87
Build Astropy 3.2.3 for Pyodide (#410) 2020-07-15 21:45:41 +02:00