Skip to content

Commit

Permalink
Add python 3.12 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lundberg committed Mar 18, 2024
1 parent 4bc9c5d commit 07ae887
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
18 changes: 9 additions & 9 deletions flake.lock

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

4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@
pkgsUnstable = nixpkgsUnstable.legacyPackages.${system};
in {
packages = flakeUtils.lib.flattenTree {
python312 = pkgs.python312;
python311 = pkgs.python311;
python310 = pkgs.python310;
python39 = pkgs.python39;
python38 = pkgs.python38;
python38 = pkgs22.python38;
python37 = pkgs22.python37;
go-task = pkgsUnstable.go-task;
};
devShell = pkgs.mkShell {
buildInputs = with self.packages.${system}; [
python312
python311
python310
python39
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
nox.options.keywords = "test + mypy"


@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"])
@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"])
def test(session):
deps = ["pytest", "pytest-asyncio", "pytest-cov", "trio", "starlette", "flask"]
session.install("--upgrade", *deps)
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
project_urls={
"GitHub": "https://github.com/lundberg/respx",
Expand Down

0 comments on commit 07ae887

Please sign in to comment.