Commit Graph

117 Commits

Author SHA1 Message Date
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
Karel Kočí f5f80fa89c python-modules/cryptography: fix cross-build
The rustPlatform.rustc has both host and target set to build platform.
The rustc has build and host platform same but target is correctly set
for cross compilation.
2023-06-30 14:52:25 +02:00
Sophie Tauchert afecc9a625 pypy3Packages.cryptography: fix build under pypy 2023-06-27 00:10:05 +02:00
Sandro 1f49db7743 Merge pull request #233447 from SuperSandro2000/hypothesis-doc-pasthru
python310Packages.hypothesis: move documentation to passthru to reduce dependencies
2023-06-07 21:45:55 +02:00
Sandro Jäckel 00000000b0 treewide: remove removed hypothesis enableDocumentation option 2023-05-23 00:52:26 +02:00
Sandro Jäckel 42042047d2 python310Packages.cryptography: remove unused inputs 2023-05-22 18:23:03 +02:00
Alyssa Ross 5e06b3cb19 treewide: don't use rustPlatform.rust
This will be deprecated in the next commit.
2023-05-12 15:31:21 +00:00
Sandro 6f72e87e60 Merge pull request #228439 from dotlambda/pytest-benchmark-test 2023-04-28 11:08:43 +02:00
Robert Schütz ea547c8973 python310Packages.cryptography: don't depend on pytest-benchmark 2023-04-27 10:54:47 -07:00
Ivan Kozik ede084fa15 python38Packages.cryptography: fix build with libxcrypt 2023-04-27 10:04:02 +00:00
Martin Weinelt 5a5994d2ad python310Packages.cryptography: 39.0.1 -> 40.0.1
https://cryptography.io/en/latest/changelog/#v40-0-1
2023-04-06 00:16:22 +02:00
Martin Weinelt 8e69a97f51 Merge pull request #215361 from dotlambda/cryptography-39.0.1
python310Packages.cryptography: 39.0.0 -> 39.0.1
2023-02-09 01:18:36 +00:00
Robert Schütz 1f6d0b6016 python310Packages.cryptography: 39.0.0 -> 39.0.1
fixes CVE-2023-23931

Changelog: https://cryptography.io/en/latest/changelog/#v39-0-1
2023-02-08 11:22:31 -08:00
Sandro 1faf1ea8eb Merge pull request #212312 from SuperSandro2000/python310Packages.cryptography 2023-02-07 00:01:15 +01:00
Sandro Jäckel 9b0ba273bf python310Packages.cryptography: 38.0.4 -> 39.0.0 2023-01-23 22:15:38 +01:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Guillaume Girol 90c78aee6c Merge branch 'nativeCheckInputs' into staging-nativeCheckInputs 2023-01-21 12:00:00 +00:00
Dmitry Bogatov 35a4ca4bde python3.pkgs.hypothesis: build offline documentation 2023-01-15 16:16:55 -05:00
Martin Weinelt cc00c2949b python3Packages.cryptography: Pass py into checkInputs
and set format.
2023-01-05 01:08:49 +01:00
Sandro Jäckel a77f49d19b python310Packages.cryptography: 38.0.3 -> 38.0.4 2022-12-04 11:34:24 +01:00
github-actions[bot] d3e80e4be3 Merge staging-next into staging 2022-11-27 06:01:56 +00:00
Robert Schütz 3441f255db python310Packages.cryptography: remove unused patch 2022-11-26 21:20:24 -08:00
Louis Bettens 304d0412a8 python3Packages.cryptography: 38.0.1 -> 38.0.3 2022-11-21 21:37:37 +01:00
Martin Weinelt eed7179cd7 python3Packages.cryptography: 37.0.4 -> 38.0.1
https://cryptography.io/en/latest/changelog/#v38-0-1
2022-09-18 23:57:30 +02:00
Sandro Jäckel dc3e75802b python310Packages.cryptography: remove empty dev output 2022-08-22 00:07:01 +02:00
Martin Weinelt 96a1286ea8 python3Packages.cryptography: 37.0.2 -> 37.0.4
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst\#3704---2022-07-05
2022-07-21 22:33:36 +02:00
Sandro Jäckel 4561bf0464 python310Packages.cryptography: 36.0.2 -> 37.0.2 2022-06-06 11:46:08 -07:00
Martin Weinelt 0e83e67ae1 python3Packages.cryptography: fix disabledTestPaths value
Expects a path, not a pytest argument.
2022-04-15 16:02:21 +02:00
Sandro Jäckel 8df7949791 pythonPackages.cryptography-vectors: make internal to cryptography 2022-03-27 16:08:55 +02:00