Commit graph

1957 commits

Author SHA1 Message Date
Freeman
d4e2365319
Add cryptography@40.0.0 cargo hash 2023-03-24 16:55:01 +07:00
adisbladis
de5f713edd
Merge pull request #1077 from nix-community/setuptools-scm-version
feat: autofix version for all packages that use setuptools-scm (#974)
2023-03-24 17:54:52 +13:00
adisbladis
3830e7829b Move setuptools-scm autofix logic to a setup hook
We don't need to export this variable for every build.
2023-03-24 16:46:12 +13:00
adisbladis
7ff1d5f8f5
Merge pull request #767 from GoldsteinE/fix-build-tags
fix handling of complex build tags
2023-03-24 16:41:48 +13:00
Jairo Llopis
293d2b7210 feat: autofix python derivations depending on hatch-vcs
This dependency is compatible with the same env variable, and affected by the same problem: https://github.com/ofek/hatch-vcs#version-source-environment-variables
2023-03-24 16:41:31 +13:00
Jairo Llopis
7f31a1221f feat: autofix version for all packages that use setuptools-scm
Building a package that has setuptools-scm usually fails if it doesn't define an override like the one I'm removing in `pyyaml-include`.

Or sometimes it works, but packages that depend on it don't work because they define some lower bound of the dependency, but the dependency doesn't have an appropriate version defined.

With this simple fix, all packages that use setuptools-scm will include the `SETUPTOOLS_SCM_PRETEND_VERSION` to let them inherit the appropriate version.

@moduon MT-1075
2023-03-24 16:41:31 +13:00
Goldstein
7d635fe4c2 fix handling of complex build tags 2023-03-24 16:34:48 +13:00
adisbladis
3313ab3740 Bump version to 1.40.1 2023-03-24 14:33:23 +13:00
adisbladis
709d422980 hooks: Prefer using propagatedBuildInputs over deps
The current check if makeSetupHook takes `deps` returns true because
of backwards compat in nixpkgs that emits a trace on use.

By checking for propagatedBuildInputs instead we check for the new behaviour first.
2023-03-24 14:31:25 +13:00
adisbladis
bf63fce1f7 Bump version to 1.40.0 2023-03-24 13:57:41 +13:00
adisbladis
36e98e86dc
Merge pull request #975 from l0b0/fix/jupyterlab
fix: jupyterlab
2023-03-24 13:47:34 +13:00
adisbladis
ba804e5d8f overrides: CommonMark -> commonmark 2023-03-24 13:36:20 +13:00
Victor Engmark
50a3ad54ac chore: Re-enable tests
They don't seem to be necessary.
2023-03-24 13:30:56 +13:00
Ryan Swart
32c330dbee fix: building the hatch package inline breaks things.. 2023-03-24 13:30:56 +13:00
Ryan Swart
a1b220f20a fix: trio fix 2023-03-24 13:30:56 +13:00
Ryan Swart
897cd6645d fix: jeepney trio 2023-03-24 12:43:21 +13:00
Ryan Swart
221bbc2d69 fix: CommonMark 2023-03-24 12:43:21 +13:00
Ryan Swart
800c3b0b48 fix: recommonmark? 2023-03-24 12:43:21 +13:00
Ryan Swart
e05e58aaba fix: final buildsystem overrides 2023-03-24 12:43:21 +13:00
Victor Engmark
72f5af53e3 fix: Add jeepney build inputs 2023-03-24 12:43:21 +13:00
Victor Engmark
449c73e40b fix: Add commonmark to rich build inputs 2023-03-24 12:43:21 +13:00
Victor Engmark
b781f3cea5 fix: Install pytest-runner for rfc3986-validator build 2023-03-24 12:43:21 +13:00
Victor Engmark
6c6a464428 fix: Add hatchling for ypy-websocket build 2023-03-24 12:43:21 +13:00
Victor Engmark
99eea1d168 fix: Add hatchling for jupyter-ydoc build 2023-03-24 12:43:21 +13:00
Victor Engmark
227ef2dd05 fix: Add hatchling for jupyter-server-terminals build 2023-03-24 12:43:21 +13:00
Victor Engmark
5589bb11a6 fix: Add hatchling for jupyter-events build 2023-03-24 12:43:21 +13:00
Victor Engmark
8ca9ebb501 test: Verify JupyterLab build 2023-03-24 12:43:21 +13:00
Victor Engmark
77a0dd3404 chore: Remove reference to non-existing package 2023-03-24 12:43:21 +13:00
Victor Engmark
28d9271854 fix: Use y-py wheel
The maturin build doesn't seem to work.
2023-03-24 12:43:21 +13:00
adisbladis
477e67ed03
Merge pull request #1060 from bouk/otel
overrides: add some more opentelemetry packages
2023-03-24 12:23:47 +13:00
adisbladis
de71b920e5
Merge pull request #1061 from Pegasust/master
Add `option` and `returns` python module (for `option` and `result` in Python)
2023-03-24 12:23:30 +13:00
Bouke van der Bijl
d972e0ee22 overrides: add some more opentelemetry packages 2023-03-24 12:15:58 +13:00
Pegasust
654b3a8ed5 +module: fastapi-utils 2023-03-24 12:12:14 +13:00
Pegasust
d5cf5a4d75 +module: returns 2023-03-24 12:11:54 +13:00
Pegasust
9fda178ae4 +module: option 2023-03-24 12:11:54 +13:00
adisbladis
25c537ad62
Merge pull request #1051 from l0b0/fix/gitlint-core
fix: gitlint-core 0.19 needs hatchling
2023-03-24 12:10:02 +13:00
adisbladis
ffd70b526a
Merge pull request #1064 from Pegasust/add-fastapi_utils
Add build system for fastapi-utils
2023-03-24 11:59:27 +13:00
adisbladis
07297c5b04
Merge pull request #1071 from janydoe/patch-1
Update build-systems.json
2023-03-24 11:59:16 +13:00
Victor Engmark
ad56f749f3 fix: gitlint-core 0.19 needs hatchling 2023-03-24 11:58:55 +13:00
adisbladis
984a8a32ce
Merge pull request #1072 from janydoe/patch-2
Update default.nix
2023-03-24 11:51:37 +13:00
Pegasust
35fd919d29 +module: fastapi-utils 2023-03-24 11:50:06 +13:00
adisbladis
109469e975
Merge pull request #1034 from nix-community/poetry_1_4_0
poetry: 1.3.0 -> 1.4.1
2023-03-24 11:44:28 +13:00
Jany
d171a31a94 overrides: update build systems for nox 2023-03-23 16:23:59 +03:00
Jany
f92f55b2a4 overrides: disable configure phase for pip-requirements-parser
Don't configure `pip-requirements-parser`.

Fixes the following error:
```
error: builder for '/nix/store/zxzy82bvkxim44ab4p0nl7qdxlbwqbah-python3.10-pip-requirements-parser-32.0.1.drv' failed with exit code 127;
       last 10 log lines:
       > source root is pip-requirements-parser-32.0.1
       > setting SOURCE_DATE_EPOCH to timestamp 1671636260 of file pip-requirements-parser-32.0.1/setup.cfg
       > patching sources
       > Removing path dependencies
       > Finished removing path dependencies
       > Removing git dependencies
       > Finished removing git dependencies
       > configuring
       > configure flags: --prefix=/nix/store/3amsl67vbg6y28clkhk889hbcknnp3rr-python3.10-pip-requirements-parser-32.0.1
       > /nix/store/pw17yc3mwmsci4jygwalj8ppg0drz31v-stdenv-linux/setup: line 1289: ./configure: cannot execute: required file not found
```
2023-03-23 16:20:19 +03:00
adisbladis
b6e7b4e761 tests.pendulum: Skip on OSX 2023-03-24 00:54:50 +13:00
adisbladis
8587bc142d poetry: 1.4.0 -> 1.4.1 2023-03-23 15:50:50 +13:00
adisbladis
1a79e628b9 Add a hook to rewrite python_requires in setup.py to be PEP440 compliant
Upstream packaging has changed and using wildcards in python_requires is now considered a bug as it's not PEP400 compliant.
Realistically we have to work around this issue as we can't expect every older version to change.

We do this by rewriting the problematic definitions and dropping the
version precision. This works out because 3.9.* is functionally
equivalent to 3.9.
2023-03-23 15:23:57 +13:00
adisbladis
f6e5a490ce Bump nixpkgs 2023-03-23 12:23:46 +13:00
adisbladis
573b643d7e tests.pendulum: Use python 3.8
MacOS ci is unreliable and fails with the wheel install on python 3.10.
My guess is that it's an older version of setuptools that's causing this.
2023-03-23 12:04:35 +13:00
adisbladis
4b086d33f5 tests.pendulum: re-lock dependencies
Hopefully this fixes the test on macos
2023-03-22 19:38:35 +13:00