Commit Graph

104 Commits

Author SHA1 Message Date
Jean-Paul Calderone
226da2fb2a Add missing pyyaml dependency
It worked without this because we got the pyyaml dependency transitively but
we should declare it directly since it is a direct dependency.
2023-03-26 11:49:17 -04:00
Jean-Paul Calderone
35b921b11d Put Python package overrides in one place, and add a lot more of them
These packaging changes fix issues against CPython 3.11 or PyPy.
2023-03-21 08:57:21 -04:00
Jean-Paul Calderone
dd8f6d408d Remove the non-unit test dependencies from the unit test inputs 2023-03-21 08:56:50 -04:00
Jean-Paul Calderone
41d5538921 Fix maturin build when using PyPy for the pycddl package 2023-03-21 08:56:05 -04:00
Jean-Paul Calderone
900b4a3c98 Package a version of collections-extended compatible with Python 3.11 2023-03-21 08:55:41 -04:00
Jean-Paul Calderone
5cf892b441 Also remove it from the Nix packaging 2023-03-17 15:32:13 -04:00
Jean-Paul Calderone
2a8867f6cf more packaging instructions 2023-03-15 15:47:43 -04:00
Jean-Paul Calderone
aaaec9a69d package update instructions 2023-03-15 15:42:52 -04:00
Jean-Paul Calderone
505032d0ca a note about what this is and what's going on upstream 2023-03-14 20:38:46 -04:00
Jean-Paul Calderone
10414e80ed Remove some unnecessary hierarchy
I thought `default.nix` was handled specially for the purposes of automatic
parameter population but it isn't.  Instead, you just need this `args@{...}`
pattern.
2023-03-14 10:25:02 -04:00
Jean-Paul Calderone
ff50bfe5c4 Accept all the arguments default.nix accepts, too 2023-03-14 10:19:49 -04:00
Jean-Paul Calderone
99559638b9 remove some repetition in the package definition 2023-03-13 19:03:26 -04:00
Jean-Paul Calderone
1b9936bd1b get lib :/ 2023-03-13 17:10:29 -04:00
Jean-Paul Calderone
0d11c6c076 package metadata 2023-03-13 17:06:06 -04:00
Jean-Paul Calderone
1e0e5304d7 actually add the test expression 2023-03-13 17:02:50 -04:00
Jean-Paul Calderone
17a2c32e1f Avoid colliding with the "extra" package in nixpkgs :/ 2023-03-13 17:02:10 -04:00
Jean-Paul Calderone
f59c6a3acf Get our dependencies at runtime, too. 2023-03-13 17:01:57 -04:00
Jean-Paul Calderone
93cd2aa354 re-enable nix-based test suite runs 2023-03-13 16:43:22 -04:00
Jean-Paul Calderone
02904a363b Drop nixpkgs 21.11 - it is missing some stuff we need
Not only some nixpkgs facilities but it also includes a rustc that's too old
to build pycddl.
2023-03-13 16:19:07 -04:00
Jean-Paul Calderone
fa2ba64d4d Also supply the i2p extra dependency, txi2p 2023-03-13 16:02:57 -04:00
Jean-Paul Calderone
568e1b5317 Replace the mach-nix-based package with a nixpkgs-based package
The built-in nixpkgs `buildPythonPackage` doesn't do metadata discovery so we
have to duplicate a lot of the package metadata.  However, mach-nix is
unmaintained and incompatible with newer versions of nixpkgs.
2023-03-13 15:19:43 -04:00
Jean-Paul Calderone
96d783534a Bump mach-nix and pypi-deps-db
The newer pypi-deps-db has the pycddl release we want.
The newer mach-nix is required to be compatible with fixes in that pypi-deps-db.
2023-01-23 08:48:29 -05:00
Jean-Paul Calderone
46fbe3d028 bump pypi-deps-db for new pycddl version 2022-10-18 17:32:23 -04:00
Jean-Paul Calderone
cb91012f98 bump the pypi db to a version including upcoming pycddl dependency 2022-04-13 08:25:11 -04:00
Jean-Paul Calderone
2e8c51ac4e bump nixpkgs-21.11 and drop the special zfec handling
the latest zfec release works fine without help
2022-04-13 08:24:53 -04:00
Jean-Paul Calderone
86bcfaa14d Update CircleCI configuration to the new packaging 2022-01-27 13:24:05 -05:00
Jean-Paul Calderone
8a1d4617c2 Add new Nix packaging using mach-nix.buildPythonPackage 2022-01-27 13:00:36 -05:00
Jean-Paul Calderone
e482745a0b drop all of the hand-rolled nix packaging expressions 2022-01-27 12:19:24 -05:00
meejah
c766476236 nix 2022-01-07 13:28:27 -07:00
meejah
95fdaf286e update nix version 2021-12-05 00:51:13 -07:00
Itamar Turner-Trauring
d985d10622
Update nix/cbor2.nix
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2021-12-01 09:24:03 -05:00
Itamar Turner-Trauring
f2b52f368d Another way. 2021-11-30 13:58:22 -05:00
Itamar Turner-Trauring
136bf95bdf Simpler way. 2021-11-30 13:58:02 -05:00
Itamar Turner-Trauring
2f4d1079aa Needs setuptools_scm 2021-11-30 13:51:36 -05:00
Itamar Turner-Trauring
c65a13e632 Rip out klein, maybe not necessary. 2021-11-30 13:47:28 -05:00
Itamar Turner-Trauring
1fc77504ae List dependencies. 2021-11-30 13:39:42 -05:00
Itamar Turner-Trauring
b01478659e Apparently I generated wrong hashes. 2021-11-30 13:18:18 -05:00
Itamar Turner-Trauring
30511ea850 Add more build inputs. 2021-11-23 11:40:11 -05:00
Itamar Turner-Trauring
8abc1ad8f4 cbor2 for Python 2 on Nix. 2021-11-23 10:44:45 -05:00
Itamar Turner-Trauring
6c514dfda5 Add klein. 2021-11-23 10:33:45 -05:00
Itamar Turner-Trauring
a1424e90e1 Another duplicate. 2021-11-16 11:34:44 -05:00
Itamar Turner-Trauring
e5b5b50602 Duplicate package. 2021-11-16 11:28:19 -05:00
Itamar Turner-Trauring
777d630f48 Another dependency. 2021-11-12 12:00:07 -05:00
Itamar Turner-Trauring
e7a5d14c0e New requirements. 2021-11-12 11:25:10 -05:00
meejah
ffb20d3bbf
Merge pull request from tahoe-lafs/3754.release-1.16.0-rc1
release 1.16.0
2021-10-20 16:04:05 -06:00
Jean-Paul Calderone
5a3028bdab add a python3 expression
most deps are in nixpkgs now but we still need an overlay for th very very
recent collections-extended dependency
2021-09-29 15:46:18 -04:00
Jean-Paul Calderone
49ee4b8acf callPackage not directly available from python-self in newer nixpkgs 2021-09-29 15:27:17 -04:00
meejah
0a072a98c8
Merge pull request from hacklschorsch/3786.openmetrics
3786 Add OpenMetrics (Prometheus) statistics endpoint
2021-09-28 13:21:46 -06:00
Itamar Turner-Trauring
f66f3e64ad Fix syntax. 2021-09-27 16:58:18 -04:00
Itamar Turner-Trauring
38e449aceb Add collections-extended. 2021-09-27 16:44:43 -04:00