Commit graph

145 commits

Author SHA1 Message Date
Martin Weinelt
b8e8ef2793 python3Packages.cryptography: disable problematic test
Depending on the overcommit setting of the host system this test tries
to allocate up to 1 TiB of virtual memory.
2026-05-30 03:53:07 +02:00
Martin Weinelt
4ec94bfe60
python3Packages.cryptography: 47.0.0 -> 48.0.0
https://cryptography.io/en/stable/changelog/#v48-0-0
2026-05-05 15:09:10 +02:00
Michael Daniels
fad2a962a4
python3Packages.cryptography: 46.0.6 -> 47.0.0
Changelog: https://cryptography.io/en/latest/changelog/#v47-0-0
2026-04-25 10:54:07 -04:00
Martin Weinelt
be45b7d487
python3Packages.cryptography: 46.0.6 -> 46.0.7
https://cryptography.io/en/latest/changelog/#v46-0-7
2026-04-10 14:18:32 +02:00
Michael Daniels
8dbeb30f30
python3Packages.cryptography{,.vectors}: 46.0.5 -> 46.0.6
Changelog: https://cryptography.io/en/latest/changelog/#v46-0-6
2026-03-27 23:44:23 -04:00
Martin Weinelt
2402ab652b
python3Packages.cryptography: 46.0.4 -> 46.0.5
https://cryptography.io/en/latest/changelog/#v46-0-5

Fixes: CVE-2026-26007
2026-02-11 00:27:25 +01:00
Martin Weinelt
b15c667f6a
python3Packages.uv-build: 0.9.26 -> 0.10.0 (#487483) 2026-02-08 15:12:26 +00:00
Michael Daniels
15a77549d2
python3Packages.cryptography: 46.0.3 -> 46.0.4
Changelog: https://cryptography.io/en/latest/changelog/#v46-0-4
2026-02-07 16:26:04 -05:00
Benjamin Sparks
8f00d7a025 python3Packages.cryptography-vectors: tweak uv-build version constraint
Extend constraint to <0.11.0 now (up from <0.10.0)
2026-02-06 02:29:14 +01:00
Robert Schütz
1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00
Wolfgang Walther
46c0c0eae7
Merge branch 'staging-next' into staging 2025-12-10 18:42:31 +01:00
Ihar Hrachyshka
567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Martin Weinelt
ccf3c1ae95 python3Packages.cryptography: 46.0.2 -> 46.0.3
https://cryptography.io/en/latest/changelog/#v46-0-3
2025-11-25 12:39:10 -08:00
Sizhe Zhao
793760ff95
python3Packages.cryptography.vectors: fix build with uv_build 0.9.2 2025-10-12 22:59:52 +08:00
Sizhe Zhao
cf8b55260f
python3Packages.cryptography{,.vectors}: 46.0.1 -> 46.0.2 2025-10-12 22:59:52 +08:00
Michael Daniels
0c6b081e66
python3Packages.cryptography: remove SuperSandro2000 as maintainer
Per their request: https://github.com/NixOS/nixpkgs/pull/446515#discussion_r2385813367
2025-10-05 17:12:29 -04:00
Michael Daniels
f65d25cd1c
python3Packages.cryptography: 45.0.4 -> 46.0.1; adopt
Diff: https://github.com/pyca/cryptography/compare/refs/tags/45.0.4...refs/tags/46.0.1

Changelog: https://cryptography.io/en/latest/changelog/#v46-0-1
2025-10-05 17:12:28 -04:00
Wolfgang Walther
5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Sandro
78a2fe26bd
python3Packages.cryptography: 45.0.2 -> 45.0.4 (#416504) 2025-06-15 22:09:19 +02:00
Yueh-Shun Li
76e2a397c2 treewide: pytestFlagsArray -> pytestFlags and join flag and option argument
This treewide change targets Python packages
that specifies pytest flags with pytestFlagsArray,
and whose flags cannot be consructed by other pytestCheckHook-honoured arguments.

Use the __structuredAttrs-agnostic argument pytestFlags
instead of the deprecated pytestFlagsArray.

For flags with option arguments,
join each flag and their option argument into a single command-line argument
following POSIX Utility Argument Syntax[1]
for easier overriding (remove/replace).

Examples:

* [ "-W" "ignore:message:WarningClass" ] ->
  [ "-Wignore:message:WarningClass" ]

* [ "--reruns" "3" ] ->
  [ "--reruns=3" ]

[1]: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html
2025-06-16 01:02:16 +08:00
misilelab
097047795e
python3Packages.cryptography: 45.0.2 -> 45.0.4
https://github.com/pyca/cryptography/compare/45.0.2...45.0.4
Signed-off-by: misilelab <misileminecord@gmail.com>
2025-06-15 16:05:56 +09:00
Martin Weinelt
1558d84649
Merge remote-tracking branch 'origin/master' into staging-next 2025-05-30 19:29:41 +02:00
TomaSajt
dcb247a583 treewide: fetchCargoVendor: inherit pname+version, part 2 2025-05-30 16:20:27 +02:00
Martin Weinelt
bb57518002 python313Packages.cryptography: remove leftover python3.9 conditional 2025-05-23 08:37:29 -07:00
Martin Weinelt
38c2714181 python313Packages.cryptography: 44.0.3 -> 45.0.2
https://cryptography.io/en/latest/changelog/#v45-0-2
2025-05-23 08:37:21 -07:00
Martin Weinelt
622f92538c
python313Packages.cryptography: 44.0.2 -> 44.0.3
https://cryptography.io/en/latest/changelog/#v44-0-3
2025-05-23 16:27:20 +02:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Martin Weinelt
7eecad76a6
python313Packages.cryptography: 44.0.1 -> 44.0.2
https://cryptography.io/en/latest/changelog/#v44-0-2
2025-03-11 13:17:48 +01:00
misilelab
48cf59783e
python3Packages.cryptography: 44.0.0 -> 44.0.1
Signed-off-by: misilelab <misileminecord@gmail.com>
2025-02-17 17:28:53 +09:00
Alyssa Ross
cace2b6eae treewide: migrate to fetchCargoVendor, batch 4
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.

It should be possible to reproduce this diff.  To generate it, I first
ran:

	xargs sed -i 's/fetchCargoTarball/fetchCargoVendor/g'

The following manually identified list of files were given as standard
input:

	pkgs/applications/graphics/drawpile/default.nix
	pkgs/applications/graphics/gnome-decoder/default.nix
	pkgs/applications/graphics/gnome-obfuscate/default.nix
	pkgs/applications/misc/openbangla-keyboard/default.nix
	pkgs/applications/version-management/git-cinnabar/default.nix
	pkgs/applications/version-management/mercurial/default.nix
	pkgs/applications/version-management/silver-platter/default.nix
	pkgs/applications/virtualization/krunvm/default.nix
	pkgs/development/libraries/librsvg/default.nix
	pkgs/development/python-modules/aardwolf/default.nix
	pkgs/development/python-modules/adblock/default.nix
	pkgs/development/python-modules/ahocorasick-rs/default.nix
	pkgs/development/python-modules/bcrypt/default.nix
	pkgs/development/python-modules/biliass/default.nix
	pkgs/development/python-modules/chromadb/default.nix
	pkgs/development/python-modules/clarabel/default.nix
	pkgs/development/python-modules/cmsis-pack-manager/default.nix
	pkgs/development/python-modules/copykitten/default.nix
	pkgs/development/python-modules/cramjam/default.nix
	pkgs/development/python-modules/cryptg/default.nix
	pkgs/development/python-modules/cryptography/default.nix
	pkgs/development/python-modules/css-inline/default.nix
	pkgs/development/python-modules/deebot-client/default.nix
	pkgs/development/python-modules/deltalake/default.nix
	pkgs/development/python-modules/etebase/default.nix
	pkgs/development/python-modules/evtx/default.nix
	pkgs/development/python-modules/fastcrc/default.nix
	pkgs/development/python-modules/flaxlib/default.nix
	pkgs/development/python-modules/gb-io/default.nix
	pkgs/development/python-modules/glean-sdk/default.nix
	pkgs/development/python-modules/hf-transfer/default.nix
	pkgs/development/python-modules/jh2/default.nix
	pkgs/development/python-modules/johnnycanencrypt/default.nix
	pkgs/development/python-modules/kurbopy/default.nix
	pkgs/development/python-modules/libcst/default.nix
	pkgs/development/python-modules/lzallright/default.nix
	pkgs/development/python-modules/netifaces2/default.nix
	pkgs/development/python-modules/nlpo3/default.nix
	pkgs/development/python-modules/nutils-poly/default.nix
	pkgs/development/python-modules/nutpie/default.nix
	pkgs/development/python-modules/orjson/default.nix
	pkgs/development/python-modules/pdoc-pyo3-sample-library/default.nix
	pkgs/development/python-modules/pendulum/default.nix
	pkgs/development/python-modules/primp/default.nix
	pkgs/development/python-modules/py-sr25519-bindings/default.nix
	pkgs/development/python-modules/pycddl/default.nix
	pkgs/development/python-modules/pydantic-core/default.nix
	pkgs/development/python-modules/pyperscan/default.nix
	pkgs/development/python-modules/pysequoia/default.nix
	pkgs/development/python-modules/python-bidi/default.nix
	pkgs/development/python-modules/python-kadmin-rs/default.nix
	pkgs/development/python-modules/qiskit-terra/default.nix
	pkgs/development/python-modules/regress/default.nix
	pkgs/development/python-modules/rpds-py/default.nix
	pkgs/development/python-modules/rtoml/default.nix
	pkgs/development/python-modules/rustworkx/default.nix
	pkgs/development/python-modules/safetensors/default.nix
	pkgs/development/python-modules/skytemple-rust/default.nix
	pkgs/development/python-modules/sourmash/default.nix
	pkgs/development/python-modules/spacy-alignments/default.nix
	pkgs/development/python-modules/sudachipy/default.nix
	pkgs/development/python-modules/test-results-parser/default.nix
	pkgs/development/python-modules/tiktoken/default.nix
	pkgs/development/python-modules/tokenizers/default.nix
	pkgs/development/python-modules/tree-sitter-make/default.nix
	pkgs/development/python-modules/whenever/default.nix
	pkgs/development/python-modules/y-py/default.nix
	pkgs/development/python-modules/zxcvbn-rs-py/default.nix
	pkgs/development/r-modules/default.nix
	pkgs/games/ddnet/default.nix
	pkgs/servers/matrix-synapse/plugins/rendezvous.nix
	pkgs/tools/filesystems/ceph/default.nix
	pkgs/tools/filesystems/ceph/old-python-packages/cryptography.nix

Then I ran:

	xargs -n 1 nix-update --version=skip

With this list of attributes corresponding to the changed files given
as standard input:

	drawpile
	gnome-decoder
	gnome-obfuscate
	ibus-engines.openbangla-keyboard
	git-cinnabar
	mercurial
	silver-platter
	krunvm
	librsvg
	python3Packages.aardwolf
	python3Packages.adblock
	python3Packages.ahocorasick-rs
	python3Packages.bcrypt
	python3Packages.biliass
	python3Packages.chromadb
	python3Packages.clarabel
	python3Packages.cmsis-pack-manager
	python3Packages.copykitten
	python3Packages.cramjam
	python3Packages.cryptg
	python3Packages.cryptography
	python3Packages.css-inline
	python3Packages.deebot-client
	python3Packages.deltalake
	python3Packages.etebase
	python3Packages.evtx
	python3Packages.fastcrc
	python3Packages.flaxlib
	python3Packages.gb-io
	python3Packages.glean-sdk
	python3Packages.hf-transfer
	python3Packages.jh2
	python3Packages.johnnycanencrypt
	python3Packages.kurbopy
	python3Packages.libcst
	python3Packages.lzallright
	python3Packages.netifaces2
	python3Packages.nlpo3
	python3Packages.nutils-poly
	python3Packages.nutpie
	python3Packages.orjson
	python3Packages.pdoc-pyo3-sample-library
	python3Packages.pendulum
	python3Packages.primp
	python3Packages.py-sr25519-bindings
	python3Packages.pycddl
	python3Packages.pydantic-core
	python3Packages.pyperscan
	python3Packages.pysequoia
	python3Packages.python-bidi
	python3Packages.python-kadmin-rs
	python3Packages.qiskit-terra
	python3Packages.regress
	python3Packages.rpds-py
	python3Packages.rtoml
	python3Packages.rustworkx
	python3Packages.safetensors
	python3Packages.skytemple-rust
	python3Packages.sourmash
	python3Packages.spacy-alignments
	python3Packages.sudachipy
	python3Packages.test-results-parser
	python3Packages.tiktoken
	python3Packages.tokenizers
	python3Packages.tree-sitter-make
	python3Packages.whenever
	python3Packages.y-py
	python3Packages.zxcvbn-rs-py
	rPackages.gifski
	rPackages.timeless
	ddnet
	matrix-synapse-plugins.matrix-http-rendezvous-synapse
	ceph.python.pkgs.bcrypt
	ceph.python.pkgs.cryptography

The list of files for the first command and the list of attributes for
the second command are in the same order, so it should be easy enough
to check their correspondence by putting them side by side.

It might be possible to parallelize the nix-update operations using
xargs' -P option.  I haven't tested it.

I also manually removed the now-outdated comment in
pkgs/development/libraries/librsvg/default.nix.
2025-01-26 15:08:28 +01:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01:00
Martin Weinelt
565478f8ae
python312Packages.cryptography: 43.0.1 -> 44.0.0
https://cryptography.io/en/latest/changelog/#v44-0-0
2024-12-04 03:33:50 +01:00
Martin Weinelt
c739e9daf1 python312Packages.cryptography: 43.0.0 -> 43.0.1
https://cryptography.io/en/latest/changelog/#v43-0-1
2024-10-13 11:02:53 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Martin Weinelt
3a6026ad23
python312Packages.cryptography: 42.0.8 -> 43.0.0
https://cryptography.io/en/latest/changelog/#v43-0-0
2024-07-21 16:15:57 +02:00
Arthur Gautier
5ab032428a python312Packages.cryptography: 42.0.5 -> 42.0.8 2024-07-17 15:11:00 -07:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Martin Weinelt
59b1aef590
python3Packages: format with nixfmt 2024-05-22 17:32:03 +02:00
Martin Weinelt
d6b47c36fe
python311Packages.cryptography: 42.0.2 -> 42.0.5
https://cryptography.io/en/latest/changelog/#v42-0-5

Fixes: CVE-2024-26130
2024-03-07 02:46:00 +01:00
Martin Weinelt
ba83271df0
python311Packages.cryptography: skip overflowing tests on 32-bit 2024-02-08 16:21:21 +01:00
Martin Weinelt
457e32ecef
python311Packages.cryptography: 41.0.7 -> 42.0.2
https://cryptography.io/en/latest/changelog/#v42-0-2
2024-02-02 18:37:39 +01:00
Niklas Hambüchen
506b21518d ceph: Fix tests by adding back old required python libs. See #281858.
Fixes #241482.

Also fix test putting cluster in unhealthy `POOL_APP_NOT_ENABLED` state;
this seems to be the default state with Ceph 18.2.1 at least,
and it does not hurt to fix it now already in the way the Ceph docs say.

Also revert "nixosTests.ceph-single-node: remove dashboard check"

This reverts commit 41b27d7f4b.
2024-01-24 14:29:24 +00:00
Fabian Affolter
4358d06d99 python311Packages.cryptography-vectors: 41.0.5 -> 41.0.7 2023-11-30 08:45:27 +01:00
Fabian Affolter
e0f242aefe python311Packages.cryptography: 41.0.5 -> 41.0.7
Changelog: https://cryptography.io/en/latest/changelog/#v41-0-7

Fixes CVE-2023-49083
2023-11-30 08:44:44 +01:00
Fabian Affolter
0eef5bf2ba python311Packages.cryptography-vectors: 41.0.3 -> 41.0.5 2023-11-27 18:19:29 +01:00
Fabian Affolter
308b0c8ce6 python311Packages.cryptography: 41.0.3 -> 41.0.5
Changelog: https://github.com/pyca/cryptography/blob/41.0.5/CHANGELOG.rst
2023-11-27 18:19:29 +01:00
Fabian Affolter
ea8fbffd04 python311Packages.cryptography-vectors: 41.0.2 -> 41.0.3 2023-08-22 10:48:37 +02:00
Fabian Affolter
65fb82bad1 python311Packages.cryptography: 41.0.2 -> 41.0.3
Changelog: https://cryptography.io/en/latest/changelog/#v41-0-3
2023-08-22 10:46:53 +02:00
Sandro Jäckel
ed1a0dce0c python310Packages.cryptography: 41.0.1 -> 41.0.2 2023-07-28 12:15:35 +02:00
Sandro Jäckel
d74195bc77 python310Packages.cryptography: 40.0.1 -> 41.0.1 2023-07-28 12:13:11 +02:00