Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,10 @@ workflows:
matrix:
parameters:
python-version:
- "python39"
- "python310"
- "python311"
- "python312"
- "python313"

- "package-manylinux":
name: "package-manylinux-2014_x86_64"
Expand All @@ -316,7 +316,7 @@ workflows:
# rewrites our git configuration to fetch sources over ssh. Then it
# fails if we don't have any ssh client.
pre-command: "yum install -y openssh-clients"
python: "/opt/python/cp37-cp37m/bin/python"
python: "/opt/python/cp313-cp313/bin/python"
# This one can upload the sdist.
upload-sdist: true
filters: &FILTERS
Expand All @@ -336,7 +336,7 @@ workflows:
name: "package-manylinux_2_28-x86_64"
executor: "manylinux_2_28-x86_64"
pre-command: "yum install -y openssh-clients"
python: "/opt/python/cp37-cp37m/bin/python"
python: "/opt/python/cp313-cp313/bin/python"
# The other one can upload the sdist.
upload-sdist: false
filters:
Expand All @@ -353,7 +353,9 @@ workflows:
- "14.3.1"
# macOS 14.3.1 with xcode...
- "15.4.0"
# macOS 14.6.1 with xcode...
- "16.1.0"
# macOS 15.3.2 with xcode...
- "16.4.0"
# macOS 15.5 with xcode...
- "26.0.0"
filters:
<<: *FILTERS
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ QxE220HfZvvOJSNdDx3hgYNfQntxeT+mkRr55LNMNyYdXdFOfkrHRoQz+MXlqfyoiWPWc7dG3k4sa5ZW

# How to install

Binary wheels for Linux (manylinux2010), macOS, and Windows are distributed on PyPI.
Binary wheels for Linux (manylinux2014), macOS, and Windows are distributed on PyPI.

```
pip install python-challenge-bypass-ristretto
Expand Down
35 changes: 19 additions & 16 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs?ref=nixos-24.05";
url = "github:nixos/nixpkgs?ref=nixos-25.05";
};

# The source repository for the crate we're building.
Expand All @@ -23,6 +23,7 @@
naersk = {
url = "github:nix-community/naersk";
inputs.nixpkgs.follows = "nixpkgs";
inputs.fenix.follows = "fenix";
};
};
outputs =
Expand Down Expand Up @@ -78,10 +79,10 @@
src = libchallenge_bypass_ristretto_ffi-src;
};

python39-challenge-bypass-ristretto = py-module pkgs.python39.pkgs;
python310-challenge-bypass-ristretto = py-module pkgs.python310.pkgs;
python311-challenge-bypass-ristretto = py-module pkgs.python311.pkgs;
python312-challenge-bypass-ristretto = py-module pkgs.python312.pkgs;
python313-challenge-bypass-ristretto = py-module pkgs.python313.pkgs;
};

# Define our cross-compiled packages. This currently does not include
Expand Down Expand Up @@ -110,10 +111,10 @@
in {
# Run a little integration test that exercises the underlying
# library via the Python interface.
integration39 = integration pkgs.python39;
integration310 = integration pkgs.python310;
integration311 = integration pkgs.python311;
integration312 = integration pkgs.python312;
integration313 = integration pkgs.python313;

# The library should have the correct soname.
soname = pkgs.runCommand "${lib.name}-soname" { } ''
Expand Down
2 changes: 1 addition & 1 deletion nix/each-system-and-cross.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ let
checks.${system} = lib.optionalAttrs (buildResult ? checks) buildResult.checks;
};

args = lib.cartesianProductOfSets {
args = lib.cartesianProduct {
system = buildSystems;
crossSystem = crossSystems;
};
Expand Down
6 changes: 3 additions & 3 deletions nix/python-challenge-bypass-ristretto.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# A basic packaging of this very project: Python bindings to the Rust
# Ristretto implementation.
{ libchallenge_bypass_ristretto_ffi, python, pythonPackages, milksnake, cffi, attrs, testtools, hypothesis }:
pythonPackages.buildPythonPackage rec {
version = "2024.11.5";
{ libchallenge_bypass_ristretto_ffi, python, buildPythonPackage, milksnake, cffi, attrs, testtools, hypothesis }:
buildPythonPackage rec {
version = "2025.8.31";
pname = "python-challenge-bypass-ristretto";
name = "${pname}-${version}";
src = ../.;
Expand Down