Commit graph

218 commits

Author SHA1 Message Date
jared-w
f5c482267c Fix providers.py on macOS 2021-10-20 11:10:56 -07:00
DavHau
b56a541af1 chore: remove debugging leftovers 2021-10-15 14:09:58 +07:00
DavHau
357a7d07c4
Merge pull request #337 from tp-la/sdist-python-requires
Handle `python_requires` for sdist provider.
2021-10-15 14:02:35 +07:00
DavHau
7306ea200a
Merge pull request #336 from tp-la/version-match
Handle more case of nixpkgs version matching.
2021-10-15 13:43:06 +07:00
Tom Prince
fdf572db07 Handle arbitrary length version. 2021-10-12 11:22:21 -06:00
Tom Prince
8a70284c08 Handle multiple nixpkg matching versions arbitrarily. 2021-10-12 11:22:18 -06:00
Tom Prince
9163528467 Handle python_requires for sdist provider. 2021-10-11 18:51:16 -06:00
Tom Prince
7e3683f7d1 Use flake.lock in python package from nix.
Fixes #307.
2021-10-11 13:52:06 -06:00
Bjørn Forsman
cc9ab5a0d8 Add support for manylinux_${GLIBCMAJOR}_${GLIBCMINOR} wheels
https://www.python.org/dev/peps/pep-0600/

This fixes e.g. using the latest tokenizers package (0.10.3) with
mach-nix.

TODO: Update WheelDependencyProvider to process all filename tags
individually instead of matching them all with a single regexp. If it
had done that already, this change would have been somewhat unneeded, as
all wheel files seem to be doubly tagged (at least for now):

* manylinux_2_5 is also tagged manylinux1
* manylinux_2_12 is also tagged manylinux2010
* manylinux_2_17 is also tagged manylinux2014

(But since the new format is first in the filename, the old regexps
don't match.)
2021-07-04 11:33:19 +02:00
DavHau
e4685e2aec Merge remote-tracking branch 'mschwaig/fix-outdated-error-message' 2021-06-10 16:19:41 +07:00
DavHau
ca166a5062 revert references to 'conda-beta' 2021-06-10 15:04:19 +07:00
DavHau
27491cdf25 revert default providers to 'wheel,sdist,nixpkgs' 2021-06-10 00:07:19 +07:00
DavHau
cb002d307c fix: improper recursive dependency cleaning when overriding nixpkgs 2021-06-09 21:54:45 +07:00
DavHau
0d12c798d2 fix test-all flake app 2021-06-09 21:54:45 +07:00
DavHau
f18ed3bd78 fix mach-nix package 2021-06-09 16:21:31 +07:00
DavHau
5d6c89d9c5 fix: don't apply fix tensorflow.rm-tensorboard when provider == conda 2021-06-09 15:11:06 +07:00
DavHau
af3f9ed6e2 fix: recursive dependency cleaning not applied on all kinds of inputs 2021-06-09 15:09:52 +07:00
DavHau
2535798e10 update auto-patchelf.sh 2021-06-09 14:01:47 +07:00
DavHau
c76e162b4d add flake apps for testing 2021-06-09 13:11:17 +07:00
DavHau
17c0c9d390 fix: requirements parsing 2021-06-09 13:10:33 +07:00
DavHau
4ca6b393b2 add parameter 'condaVersion' + support conda virtual packages 2021-06-08 19:19:56 +07:00
DavHau
7cc60c1292 fix: various bug fixes 2021-06-08 19:18:13 +07:00
DavHau
573bfe16e8 update conda channels 2021-06-08 19:16:14 +07:00
DavHau
31a8867249 package-fix: libwebp-base - remove colliding binaries in conda package 2021-06-08 19:14:53 +07:00
DavHau
37ceae438d update flake lock 2021-06-08 19:13:27 +07:00
DavHau
06bda013a3 fix: removed circular deps missing in autoPatchelf 2021-06-08 19:10:15 +07:00
DavHau
65ea580168 improve requirements parsing 2021-06-06 14:57:04 +07:00
DavHau
c455ed8c56 Merge branch 'master' into conda-beta 2021-05-23 16:22:02 +07:00
DavHau
8c908fcde6 fix changelog wording 2021-05-23 14:30:15 +07:00
DavHau
40e1302842 version 3.3.0 (final) 2021-05-23 14:25:48 +07:00
DavHau
56c2738780 fix deps-db-and-fetcher.nix 2021-05-23 14:14:33 +07:00
DavHau
a9541433a5 refactor deps-db-and-fetcher 2021-05-23 14:01:06 +07:00
DavHau
0003c4d750 fix version file 2021-05-23 13:58:02 +07:00
DavHau
46f7940ded update python to 3.8 2021-05-23 13:05:16 +07:00
DavHau
038f820668 switch to nixos-unstable 2021-05-23 13:00:23 +07:00
DavHau
f7fbf74ee0 improve: simplified override interface dealt badly with empty and null values 2021-05-23 12:35:08 +07:00
DavHau
ca8a65d434 switch to nixpkgs-20.09 2021-05-23 12:03:11 +07:00
DavHau
8eed287656 bump nixpkgs and pypi-deps-db 2021-05-22 22:25:59 +07:00
DavHau
37a86cca1e fix failing test 2021-05-22 22:25:33 +07:00
DavHau
1fe10a5d5a version 3.3.0 2021-05-22 22:03:48 +07:00
DavHau
97d744887b simplify flakes cmdline api 2021-05-22 22:02:24 +07:00
DavHau
ad45c36495 improve: print hint about updating pypiData when resolution fails (fixes #274) 2021-05-22 20:54:15 +07:00
DavHau
dc9b7d0c2b conda: rebase on current nixpkgs PR https://github.com/NixOS/nixpkgs/pull/123323 2021-05-22 20:13:42 +07:00
DavHau
8bbb6f63f2 fix: python version not respected for some conda packages 2021-05-22 20:09:08 +07:00
DavHau
dbaf4115ca Merge branch 'master' into conda-beta 2021-05-16 16:56:37 +07:00
DavHau
31a286bf2a Merge branch 'master' into conda-beta 2021-05-15 16:51:28 +07:00
DavHau
fdd7bec457 fix: filter out unwanted python dependencies 2021-05-15 12:39:38 +07:00
DavHau
f139a8b68a fix: python minor version not respected when checking wheels for compatibility 2021-05-14 18:21:48 +07:00
DavHau
51a79318f2 fix: wrong python interpreter in mach-nix cli env 2021-05-14 17:50:40 +07:00
DavHau
1c7af0918b fix: python package 'overrides' colliding with same named variable in nix expr. 2021-05-14 14:45:36 +07:00