Commit Graph

9 Commits

Author SHA1 Message Date
Jeremy Fleischman
3fc660733b
kikit: 1.5.0 -> 1.6.0
kikit 1.5.0 bundles an old version of versioneer that doesn't work with
Python 3.12. See this usptream issue for details:
https://github.com/yaqwsx/KiKit/issues/680

This was fixed in
e0c312ae10,
which first landed in kikit 1.6.0. So, let's upgrade and finally get this
building on Python 3.12!

This fixes https://github.com/NixOS/nixpkgs/issues/325220
2024-08-21 07:25:54 -07:00
Jeremy Fleischman
5c493ae9ed
python3Packages.shapely_1_8: remove
Shapely 1.8 is old unmaintained. We originally had to introduce it to nixpkgs in
order to package kikit, but recently kikit upstream dropped the
requirement to use an old version of shapely
(https://github.com/yaqwsx/KiKit/issues/574#issuecomment-1879721181).

Upstream relaxed the version constraint in
3427a8d6ce,
which first landed in kikit 1.5.0, which we're already packaging, so
we're free to drop shapely 1.8!
2024-08-21 07:25:54 -07:00
Felix Buehler
4a6031fb7c python312Packages.pcbnewtransition: rename from pcbnew-transition 2024-03-21 22:08:35 +01:00
Jeremy Fleischman
9f7c981bec
kikit: 1.4.0 -> 1.5.0
This includes support for KiCad 8 (see complete changelog
[here](https://github.com/yaqwsx/KiKit/releases/tag/v1.5.0)), which should unblock
https://github.com/NixOS/nixpkgs/pull/291134.

With this upgrade, a test started failing:

    $ nix build .#kikit
    ...
    kikit> not ok 40 Steel stencils
    kikit> # (in test file /build/source/test/system/stencil.bats, line 6)
    kikit> #   `kikit stencil create  --jigsize 60 60 $RES/conn.kicad_pcb steelStencil' failed
    kikit> # 04:32:16: Error: Directory '/homeless-shelter' couldn't be created (error 13: Permission denied)
    kikit> # An error occurred: OpenSCAD is not available.
    kikit> # Did you install it? Program `openscad` has to be in PATH
    kikit> # No output files produced
    kikit> not ok 41 Steel stencils with cutout
    kikit> # (in test file /build/source/test/system/stencil.bats, line 10)
    kikit> #   `kikit stencil create  --jigsize 60 60 --cutout J4 $RES/conn.kicad_pcb steelStencil' failed
    kikit> # 04:32:17: Error: Directory '/homeless-shelter' couldn't be created (error 13: Permission denied)
    kikit> # An error occurred: OpenSCAD is not available.
    kikit> # Did you install it? Program `openscad` has to be in PATH
    kikit> # No output files produced
    kikit> not ok 42 Printed stencils
    kikit> # (in test file /build/source/test/system/stencil.bats, line 14)
    kikit> #   `kikit stencil createprinted \' failed
    kikit> # 04:32:17: Error: Directory '/homeless-shelter' couldn't be created (error 13: Permission denied)
    kikit> # An error occurred: OpenSCAD is not available.
    kikit> # Did you install it? Program `openscad` has to be in PATH
    kikit> # No output files produced
    kikit> make: *** [Makefile:40: test-system] Error 1
    kikit> /nix/store/3qnm3nwjajgqa771dmi2dnwxrw0kzq5m-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context
    error: builder for '/nix/store/f3klmz0qvi6yr3qfy7cww434f2z4kjx5-kikit-1.5.0.drv' failed with exit code 2;

This is failing in some pretty old kikit code, so I think this is just
failing due to kikit now having more complete code coverage. While
researching this, I discovered kikit's documentation about [optional
dependencies], which I suppose we don't have good support for right now.
Rather than invent a new option for that, I've opted to preserve the
existing behavior and just do the bare minimum to keep the build
passing.

[optional dependencies]: https://github.com/yaqwsx/KiKit/blob/v1.5.0/docs/installation/intro.md#optional-dependencies
2024-03-09 20:12:45 -08:00
R. Ryantm
5fd1717391 kikit: 1.3.0 -> 1.4.0 2024-01-21 05:17:06 +00:00
Felix Buehler
2adcc8846a python311Packages.wxpython: rename from wxPython_4_2 2024-01-07 21:16:47 +01:00
Ivan Mincik
8b5d46f1ce python3Packages.shapely: rename shapely18 to shapely_1_8 2023-12-07 09:45:59 +01:00
Ivan Mincik
9a07607d71 kikit: use shapely 1.8
Use maintained version of shapely 1.8 instead of locally packaged
version.
2023-12-06 19:59:07 +01:00
Jeremy Fleischman
0650d380c7 kikit: init at 1.3.0
Co-authored-by: Rohit <rohitsutradhar311@gmail.com>
Co-authored-by: Jeremy Fleischman <jeremyfleischman@gmail.com>
Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
Co-authored-by: Matúš Ferech <matus.ferech@gmail.com>
2023-11-16 21:24:04 +07:00