Commit Graph

1575 Commits

Author SHA1 Message Date
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
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
phaer
a5fd46f21b feat(fetchPipMetadata): wrap script for...
buildInputs. There's probably a cleaner way
2023-03-31 20:10:24 +02:00
phaer
13606922cd feat(buildPythonEnv): add nativeBuildInputs 2023-03-31 20:10:00 +02:00
phaer
4bf406e394 feat(ansible): use buildPythonEnv 2023-03-31 18:09:42 +02:00
phaer
87b43e1bb3 feat(buildPythonEnv): replace pythonSources...
with fetchPipMetadata
2023-03-31 18:07:51 +02:00
phaer
284fc4f2a2 feat(fetchPipMetadata): re-introduce pipVersion...
...and the venv. Also make hash gathering more solid
2023-03-31 18:03:02 +02:00
phaer
4d4ab9e35b feat(fetchPipMetadata): convert to script, pass...
args as json
2023-03-31 17:35:54 +02:00
phaer
0ac4468032 clean(fetchPipMetadata): remove dead code 2023-03-31 15:51:04 +02:00
phaer
0ad87ab6e9 fetchPipMetadata: use pip from nixpkgs...
...remove the venv and wait for the proxy via http, because the
cert is only generated a bit after mitmproxy is started
2023-03-31 15:27:14 +02:00
phaer
7486717898 clean(fetchPipMetadata): remove drv-parts-module 2023-03-31 15:27:14 +02:00
phaer
d4d7f2f1c8 clean(fetchPipMetadata): remove fod. 2023-03-31 15:27:14 +02:00
phaer
58b4ec80e5 clean(fetchPipMetadata): remove binary selection
...to simplify for now, we'll re-introduce it later
2023-03-31 15:17:34 +02:00
phaer
83b0d20809 init(buildPythonEnv): fork mach-nix-xs 2023-03-31 14:46:44 +02:00
phaer
cc1438d3c9 feat(fetchPipMetadata): remove names and dist 2023-03-31 14:44:18 +02:00
phaer
d0d3dbcf97 feat(fetchPipMetadata): remove writeMetaData 2023-03-31 14:43:44 +02:00
phaer
0c46b840fc feat(fetchPipMetadata): save full url...
...and report.json for now
2023-03-31 14:28:10 +02:00
phaer
88e2f0f416 feat(fetchPipMetadata): add drv-parts module 2023-03-31 14:05:42 +02:00
phaer
1a0d0f1513 feat(fetchPipMetadata): remove downloading 2023-03-31 14:05:40 +02:00
phaer
dd90544ebb copy fetchPip to fetchPipMetadata 2023-03-31 14:05:25 +02:00
DavHau
6f512b5a22
Merge pull request #501 from phaer/fetch-pip-metadata
fetchPip: use new `pip install --report` to acquire reliable metadata from pip
2023-03-31 12:23:29 +02:00