Commit Graph

203 Commits

Author SHA1 Message Date
phaer
4b1c32710d chore(fetchPipMetadata): update pip 2023-04-11 00:43:31 +02:00
phaer
dcf1f22063 chore(fetchPipMetadata): build proper python pkg 2023-04-11 00:15:38 +02:00
Paul Haerle
c9e6067304
Merge branch 'main' into fetch-pip-metadata 2023-04-07 17:22:50 +02:00
phaer
b01158011a chore(odoo): update lock after lock file fixes 2023-04-07 12:22:25 +02:00
phaer
7416e44047 fix(fetchPipMetadata): fix requirements...
...using a map() instead of list-comprehension resulted in an
iterator which was consumed in the first branch of our dependency
tree where it was encountered, resulting in an empty set of
requirements in other branches.
2023-04-07 12:03:30 +02:00
phaer
b3effffd9a feat(fetchPipMetadata): simplify script wrapper 2023-04-06 22:33:59 +02:00
phaer
0b747b656a wip(fetchPipMetadata): refactor lock_info_from_url 2023-04-06 21:02:34 +02:00
phaer
4c53958882 wip(fetchPipMetadata): split lock_info_from_store 2023-04-06 12:55:34 +02:00
phaer
24c72f1d3b feat(fetchPipMetadata): add nix and git 2023-04-06 01:59:24 +02:00
phaer
ad5391c3fb wip(fetchPipMetadata): lock relative paths if ...
we are in the same flake.
2023-04-06 01:43:20 +02:00
phaer
f9fe7b560f wip(fetchPipMetadata): recover fod url and hash 2023-04-06 00:23:55 +02:00
phaer
12f09cf0eb chore(fetchPipMetadata): print errors to stderr 2023-04-06 00:17:25 +02:00
phaer
e104f5d586 refactor(fetchPipMetadata): process_dependencies..
...split and add a bit more explainatory comments
2023-04-05 22:12:56 +02:00
phaer
3eaaa76540 chore(fetchPipMetadata): refactor prepare_venv 2023-04-05 17:23:05 +02:00
phaer
956030ec99 chore(fetchPipMetadata): namespace proxy code 2023-04-05 17:23:05 +02:00
phaer
173d77f080 fix(pip): remove default for lock file value 2023-04-05 15:28:07 +02:00
phaer
4444a26920 feat(lock): print command if lock file missing...
...as a convienience to flake users
2023-04-05 15:27:23 +02:00
phaer
9a16ba6712 chore(ansible,odoo): remove cache files
because they arent used anymore with pip
2023-04-05 15:23:59 +02:00
phaer
32397218c0 chore(buildPythonEnv): rename to pip 2023-04-05 14:45:36 +02:00
phaer
d4a1d0fb16 chore(odoo): Don't use requirements.txt...
but only (unlocked) deps from setup.py and co.
We also update the timestamp because otherwise we get
a qrcode release which is old enough to have broken
deps
2023-04-05 12:36:28 +02:00
phaer
c0c423c37b clean(buildPythonEnv): remove substitution...
...we might re-introduce a more generic approach via .drvs later on
2023-04-05 12:15:53 +02:00
phaer
cda1e4fa19 Revert "fix(buildPythonEnv): let doCheck default to true"
This reverts commit 95e815a4ec.
2023-04-05 12:15:27 +02:00
phaer
5564c2845c fix(buildPythonEnv): remove unused dists passthru 2023-04-05 11:33:24 +02:00
phaer
888e3e1922 fix(buildPythonEnv): patchelf toplevel by default 2023-04-05 11:32:56 +02:00
phaer
f82c31dfad fix(buildPythonEnv): remove unused runCommand 2023-04-05 11:32:29 +02:00
phaer
6f21250df1 fix(buldPythonEnv): remove unecessary postFixup 2023-04-05 11:32:00 +02:00
phaer
95e815a4ec fix(buildPythonEnv): let doCheck default to true 2023-04-05 11:31:13 +02:00
phaer
6c6fbfa71a fix(buildPythonEnv): remove manylinuxPackages...
...manylinux1 should include them.
2023-04-05 11:30:51 +02:00
phaer
94ac87ab73 fix(fetchPipMetadata): remove unecessary if...
...its redundant, now that dependencies are a set here
2023-04-05 11:28:34 +02:00
phaer
aad13eee69 feat(buildPythonEnv): include nixpkgs-overrides...
...but don't activate it by default
2023-04-04 14:52:09 +02:00
phaer
5bd325d4a8 feat(fetchPipMetadata): sort dependencies 2023-04-04 14:31:05 +02:00
phaer
25039e82b4 feat(fetchPipMetadata): add cycle detection...
...to prevent inifite recursion in nix later on
2023-04-04 14:26:13 +02:00
phaer
a512c63386 chore(fetchPip): decrease proxy timeout to 10s 2023-04-04 14:09:42 +02:00
DavHau
34a80ab215 chore(v1): update lock files 2023-04-04 12:47:23 +02:00
DavHau
2022d7f5b2 fix(v1/mach-nix-xs): set postPhases instead of postFixup 2023-04-04 12:46:28 +02:00
DavHau
1b47c40614 fix(v1/mach-nix-xs); no autoPatchelfHook for individual sdist builds 2023-04-04 00:18:23 +02:00
DavHau
85008c440a fix(v1/mach-nix-xs): install transitive deps when building wheel 2023-04-04 00:17:36 +02:00
DavHau
bbb1986c40 fix(v1/mach-nix-xz): add unzip to nativeBuildInputs 2023-04-03 20:50:59 +02:00
DavHau
a7821b2dd6 fix(v1/mach-nix-xs): mkDefault for nixpkgs-overrides.enable 2023-04-03 20:48:32 +02:00
DavHau
4a0fdbb3c2 feat(v1/nixpkgs-overrides): set default priority for exclude 2023-04-03 20:45:19 +02:00
DavHau
d636274de1 feat(v1/nixpkgs-override): rename excludedNixpkgsAttrs -> exclude 2023-04-03 20:43:59 +02:00
DavHau
35a911655c feat(fetchPip.nix): add wheel to venv 2023-04-03 18:00:18 +02:00
DavHau
de15e315e0 fix(fetchPip.py): don't refer to /build directly 2023-04-03 14:23:27 +02:00
DavHau
ee8f2bbf59 fix(v1/lib.evalModules): allow specialArgs unspecified 2023-04-03 12:16:32 +02:00
phaer
87842fa32e chore(buildPythonEnv): TODO substitution conflicts 2023-04-03 12:15:05 +02:00
phaer
d16436579a feat(fetchPipMetadata): respect markers...
for proper support of platform-specific and optional features.
Turns out it, it isn't that hard after all with a bit of recursion.
2023-04-03 02:29:43 +02:00
phaer
4e1a8af12d feat(fetchPipMetadata): don't handle markers 2023-04-02 22:32:30 +02:00
phaer
3775e17c9a fix(fetchPipMetadata): sort lock file keys 2023-04-01 17:42:47 +02:00
phaer
9527b0dd0a feat(odoo): use buildPythonEnv 2023-04-01 00:08:19 +02:00
phaer
4d7e8ba606 fix(fetchPipMetadata): no hashes for editables 2023-04-01 00:07:15 +02:00