Commit Graph

2286 Commits

Author SHA1 Message Date
phaer
80cfb95ffc eval examples on x86_64-linux & aarch64-darwin
quick & easy way to reduce ci run-time and overhead from
platform-specific lock files in the repo while letting
us catch errors on two OSes as well as architectures.
2024-07-13 16:40:01 +02:00
phaer
65bf5d43b1 adapt lock file path in pip tests 2024-07-13 16:40:01 +02:00
phaer
0a7fefa2c4 add darwin lock-files 2024-07-13 16:40:01 +02:00
phaer
f679e624b4 add x86_64-linux lock files 2024-07-13 16:40:01 +02:00
phaer
2e5cf4294d set paths.lockfile for pip example...
even with the new default, it's good to be explicit.
And the examples will still refer to the main branch while running ci
checks for this
2024-07-13 16:40:01 +02:00
phaer
49a1961faa pip: set sys-specific default for paths.lockFile 2024-07-13 15:47:28 +02:00
DavHau
0859b0dfdf docs: improve table of contents for options
- increase width of toc
- show full option path in toc
- no nesting

This simplifies navigation on option pages a lot.
2024-07-11 15:56:58 +00:00
DavHau
a3751775d9 docs: fix broken links 2024-07-11 14:47:28 +00:00
DavHau
d639e70caf reference website: categorize into released/experimental/internal 2024-07-11 14:41:18 +00:00
DavHau
37fca4bf27 reference website: render all options with same heading size 2024-07-11 14:41:18 +00:00
Paul Haerle
0c6b5c8ab7
Merge pull request #1012 from phaer/guides
Reworked Getting started guide
2024-07-10 12:05:00 +02:00
phaer
363a6996c3 docs: mv gettingstarted to guides/getting-started 2024-07-09 20:16:09 +02:00
phaer
7b48877133 docs: reworked gettingstarted.md 2024-07-09 20:16:09 +02:00
Paul Haerle
a9c8595b3f
Merge pull request #998 from abathur/pdm_static_urls
pdm: support additional index/source URLs
2024-07-09 16:00:16 +02:00
Travis A. Everett
d887642ae7 pdm: support additional index/source URLs
pdm supports extra indexes in tool.pdm.source blocks and we can also
pass a list of urls to fetchFromLegacy, so this aggregates URLs from
the source blocks and passes them.

I think this will unblock simple cases like getting a package that is
not on pypi.org from some other index, but I imagine that there are
more complex cases that will require refining this support.
2024-07-09 15:58:14 +02:00
Paul Haerle
c674abab6d
Drop mitmproxy, pypiSnapshotDate (#1011)
* drop mitm-proxy & pypi snapshot date

* add warning if pypiSnapshotDate is used

* tree-wide: remove pypiSnapshotDate

* pip/tests/packages: support all platforms

* re-lock examples

* apache-airflow: fix override after re-lock

* pip/tests: remove other platforms again

...don't want to maintain 4 lock files per test
2024-07-09 15:51:13 +07:00
github-actions[bot]
11cfa4eeef flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1e3deb3d8a86a870d925760db1a5adecc64d329d?narHash=sha256-vN5xJAZ4UGREEglh3lfbbkIj%2BMPEYMuqewMn4atZFaQ%3D' (2024-06-27)
  → 'github:NixOS/nixpkgs/4284c2b73c8bce4b46a6adf23e16d9e2ec8da4bb?narHash=sha256-i4vJL12/AdyuQuviMMd1Hk2tsGt02hDNhA0Zj1m16N8%3D' (2024-07-05)
2024-07-07 18:37:36 +00:00
github-actions[bot]
9851ee9628 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1e3deb3d8a86a870d925760db1a5adecc64d329d?narHash=sha256-vN5xJAZ4UGREEglh3lfbbkIj%2BMPEYMuqewMn4atZFaQ%3D' (2024-06-27)
  → 'github:NixOS/nixpkgs/4284c2b73c8bce4b46a6adf23e16d9e2ec8da4bb?narHash=sha256-i4vJL12/AdyuQuviMMd1Hk2tsGt02hDNhA0Zj1m16N8%3D' (2024-07-05)
2024-07-07 18:37:36 +00:00
Paul Haerle
46b6ee6b0b
Merge pull request #1009 from phaer/render-options-fix
docs: fix incorrect option rendering for first children of nested options
2024-07-04 11:40:39 +02:00
phaer
69d78dbcad docs: fix incorrect option rendering...
for first children of nested options.

thanks @yorickvP for reporting this in
https://github.com/nix-community/dream2nix/pull/987
2024-07-04 10:17:01 +02:00
github-actions[bot]
1b5e01219a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c66e984bda09e7230ea7b364e677c5ba4f0d36d0?narHash=sha256-NBGYaic5FLRg8AWSj6yr4g2IlMPUxNCVjRK6%2BRNuQBc%3D' (2024-06-26)
  → 'github:NixOS/nixpkgs/1e3deb3d8a86a870d925760db1a5adecc64d329d?narHash=sha256-vN5xJAZ4UGREEglh3lfbbkIj%2BMPEYMuqewMn4atZFaQ%3D' (2024-06-27)
2024-06-29 18:33:13 +00:00
github-actions[bot]
1b2c56c35d flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c66e984bda09e7230ea7b364e677c5ba4f0d36d0?narHash=sha256-NBGYaic5FLRg8AWSj6yr4g2IlMPUxNCVjRK6%2BRNuQBc%3D' (2024-06-26)
  → 'github:NixOS/nixpkgs/1e3deb3d8a86a870d925760db1a5adecc64d329d?narHash=sha256-vN5xJAZ4UGREEglh3lfbbkIj%2BMPEYMuqewMn4atZFaQ%3D' (2024-06-27)
2024-06-29 18:33:13 +00:00
Paul Haerle
246cd48cd1
Merge pull request #1005 from nix-community/cross-platform-examples
tree-wide: make examples eval on all platforms...
2024-06-29 11:10:30 +02:00
phaer
faf08c4c44 WIP-spago: fix build on darwin 2024-06-28 22:52:01 +02:00
phaer
6ce06d44fb examples/rust-packaging: add iconv on darwin 2024-06-28 21:13:46 +02:00
phaer
72d2689551 WIP-spago: remove breakpointHook 2024-06-28 21:05:33 +02:00
phaer
42282329b0 tree-wide: make examples eval on all platforms...
all 4 default platforms of nixpkgs that is.
2024-06-28 21:05:33 +02:00
github-actions[bot]
4d441820e0 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9c513fc6fb75142f6aec6b7545cb8af2236b80f5?narHash=sha256-bu0xbu2Z6DDzA9LGV81yJunIti6r7tjUImeR8orAL/I%3D' (2024-06-25)
  → 'github:NixOS/nixpkgs/c66e984bda09e7230ea7b364e677c5ba4f0d36d0?narHash=sha256-NBGYaic5FLRg8AWSj6yr4g2IlMPUxNCVjRK6%2BRNuQBc%3D' (2024-06-26)
2024-06-27 18:35:40 +00:00
github-actions[bot]
82be46a3c4 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9c513fc6fb75142f6aec6b7545cb8af2236b80f5?narHash=sha256-bu0xbu2Z6DDzA9LGV81yJunIti6r7tjUImeR8orAL/I%3D' (2024-06-25)
  → 'github:NixOS/nixpkgs/c66e984bda09e7230ea7b364e677c5ba4f0d36d0?narHash=sha256-NBGYaic5FLRg8AWSj6yr4g2IlMPUxNCVjRK6%2BRNuQBc%3D' (2024-06-26)
2024-06-27 18:35:40 +00:00
Paul Haerle
5206af5fd5
Merge pull request #1001 from phaer/pyproject-true
treewide: format = "pyproject" -> pyproject = true
2024-06-27 13:03:08 +02:00
phaer
223674de3d fix: python-local-development example 2024-06-27 12:59:55 +02:00
phaer
cfd9c4f4c2 fix apache-airflow example 2024-06-27 12:49:03 +02:00
phaer
9c38c4fe41 fix default for format/pyproject in pip and pdm 2024-06-27 12:41:00 +02:00
phaer
1dda463e0b pdm: remove config.deps.python
because the default from buildPythonPackage already says
config.deps.python = pkgs.python3
2024-06-27 12:26:08 +02:00
phaer
97d181ccd8 treewide: format = "pyproject" -> pyproject = true
It's important to get the default in our PDM module fixed,
because upstream documentation recommends using pyproject = true;
and ships an assertion assertion '((pyproject != null) -> (format ==
null))' that fails with the current default in pdm.
2024-06-27 12:26:08 +02:00
Paul Haerle
26097d341a
Merge pull request #985 from yorickvP/yorickvp/pkgs-fetchurl
pip: use pkgs.fetchurl instead of builtins.fetchurl
2024-06-27 11:22:00 +02:00
Paul Haerle
5423ffd502
Merge branch 'main' into yorickvp/pkgs-fetchurl 2024-06-27 11:18:30 +02:00
DavHau
ef04683222 fix: nix flake show requiring IFD 2024-06-27 08:24:28 +00:00
github-actions[bot]
481cd64f96 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cfb89a95f19bea461fc37228dc4d07b22fe617c2?narHash=sha256-kOUKtKfYEh8h8goL/P6lKF4Jb0sXnEkFyEganzdTGvo%3D' (2024-06-25)
  → 'github:NixOS/nixpkgs/9c513fc6fb75142f6aec6b7545cb8af2236b80f5?narHash=sha256-bu0xbu2Z6DDzA9LGV81yJunIti6r7tjUImeR8orAL/I%3D' (2024-06-25)
2024-06-26 18:35:41 +00:00
github-actions[bot]
5253c929b7 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cfb89a95f19bea461fc37228dc4d07b22fe617c2?narHash=sha256-kOUKtKfYEh8h8goL/P6lKF4Jb0sXnEkFyEganzdTGvo%3D' (2024-06-25)
  → 'github:NixOS/nixpkgs/9c513fc6fb75142f6aec6b7545cb8af2236b80f5?narHash=sha256-bu0xbu2Z6DDzA9LGV81yJunIti6r7tjUImeR8orAL/I%3D' (2024-06-25)
2024-06-26 18:35:41 +00:00
Paul Haerle
06027e2e42
Merge pull request #981 from phaer/docs
mkdocs-based documentation site
2024-06-26 19:09:32 +02:00
phaer
68e0c76cb5 docs: enable copy button for code blocks 2024-06-26 19:05:13 +02:00
phaer
3f14177388 examples/hello: 2.12 -> 2.12.1 2024-06-26 19:05:13 +02:00
phaer
35e13f912a docs/buildPythonPackage: reformat 2024-06-26 19:05:13 +02:00
phaer
00ccd3da76 docs/pip: Add intro to README 2024-06-26 19:05:13 +02:00
Paul Haerle
a7ebf95ad4
Merge branch 'main' into docs 2024-06-26 19:01:47 +02:00
github-actions[bot]
aa983fd908 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9693852a2070b398ee123a329e68f0dab5526681?narHash=sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs%3D' (2024-06-22)
  → 'github:NixOS/nixpkgs/cfb89a95f19bea461fc37228dc4d07b22fe617c2?narHash=sha256-kOUKtKfYEh8h8goL/P6lKF4Jb0sXnEkFyEganzdTGvo%3D' (2024-06-25)
2024-06-25 18:38:04 +00:00
github-actions[bot]
3288c5cf44 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9693852a2070b398ee123a329e68f0dab5526681?narHash=sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs%3D' (2024-06-22)
  → 'github:NixOS/nixpkgs/cfb89a95f19bea461fc37228dc4d07b22fe617c2?narHash=sha256-kOUKtKfYEh8h8goL/P6lKF4Jb0sXnEkFyEganzdTGvo%3D' (2024-06-25)
2024-06-25 18:38:04 +00:00
Paul Haerle
63a1e0dffb
Merge pull request #995 from purepani/fix-python-ediables
Fix python ediables
2024-06-24 09:29:20 +02:00
purepani
cbe72c89ba
python-editables: Exports environment variables for python whether
.dream2nix needs updating or not (editables.py)
2024-06-23 15:20:56 -05:00