Skip to content

Commit

Permalink
Fix missing test vectors in wheel
Browse files Browse the repository at this point in the history
Poetry 2.0 [1] has made "include behavior more consistent" [2], meaning
that by default, the include directive only applies for sdist packages.
Since the protobuf test vectors are excluded with .gitignore, they have
to be manually included. And as poetry's version is not pinned in the
CI, when building version 2025.01.09, the test vectors were not included
in the wheel.

Updating pyproject.toml and forcing both formats to include the test
vectors should fix. Tagging release candidate to test the fix.

[1]: python-poetry/poetry#9136
[2]: python-poetry/poetry#9691
  • Loading branch information
JulioLoayzaM committed Jan 31, 2025
1 parent b085f20 commit a4187dc
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "crypto-condor"
version = "2025.01.19"
version = "2025.01.20-rc1"
description = "Compliance testing for implementations of cryptographic primitives"
license = "Apache-2.0"
authors = [
Expand All @@ -14,16 +14,16 @@ repository = "https://github.com/quarkslab/crypto-condor"
documentation = "https://quarkslab.github.io/crypto-condor/latest/index.html"
keywords = ["cryptography", "compliance"]
include = [
"crypto_condor/vectors/_aes/dat/*.dat",
"crypto_condor/vectors/_ECDH/dat/*.dat",
"crypto_condor/vectors/_ecdsa/dat/*.dat",
"crypto_condor/vectors/_falcon/dat/*.dat",
"crypto_condor/vectors/_HMAC/dat/*.dat",
"crypto_condor/vectors/_mldsa/pb2/*.pb2",
"crypto_condor/vectors/_mlkem/pb2/*.pb2",
"crypto_condor/vectors/_rsa/dat/*.dat",
"crypto_condor/vectors/_sha/dat/*.dat",
"crypto_condor/primitives/_testu01/examples/excel.dat",
{ path ="crypto_condor/vectors/_aes/dat/*.dat", format = ["sdist", "wheel"] },
{ path ="crypto_condor/vectors/_ECDH/dat/*.dat", format = ["sdist", "wheel"] },
{ path ="crypto_condor/vectors/_ecdsa/dat/*.dat", format = ["sdist", "wheel"] },
{ path ="crypto_condor/vectors/_falcon/dat/*.dat", format = ["sdist", "wheel"] },
{ path ="crypto_condor/vectors/_HMAC/dat/*.dat", format = ["sdist", "wheel"] },
{ path ="crypto_condor/vectors/_mldsa/pb2/*.pb2", format = ["sdist", "wheel"] },
{ path ="crypto_condor/vectors/_mlkem/pb2/*.pb2", format = ["sdist", "wheel"] },
{ path ="crypto_condor/vectors/_rsa/dat/*.dat", format = ["sdist", "wheel"] },
{ path ="crypto_condor/vectors/_sha/dat/*.dat", format = ["sdist", "wheel"] },
{ path ="crypto_condor/primitives/_testu01/examples/excel.dat", format = ["sdist", "wheel"] },
]
exclude = [
"crypto_condor/vectors/_aes/rsp",
Expand Down

0 comments on commit a4187dc

Please sign in to comment.