Merge pull request 'schemathesis: Add as runnable application instead of library to resolve httpx dependency collision issue' (#543) from Qubasa-main into main
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
, deal
|
||||
, rope
|
||||
, clan-core-path
|
||||
, schemathesis
|
||||
}:
|
||||
let
|
||||
|
||||
@@ -47,14 +48,13 @@ let
|
||||
];
|
||||
|
||||
pytestDependencies = runtimeDependencies ++ dependencies ++ [
|
||||
#schemathesis # optional for http fuzzing
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-subprocess
|
||||
pytest-xdist
|
||||
pytest-timeout
|
||||
deal
|
||||
# commented out because it injects an incompatible httpx version into our python env
|
||||
#schemathesis
|
||||
remote-pdb
|
||||
ipdb
|
||||
openssh
|
||||
|
||||
@@ -31,12 +31,14 @@
|
||||
{
|
||||
devShells.clan-cli = pkgs.callPackage ./shell.nix {
|
||||
inherit (self'.packages) clan-cli ui-assets nix-unit;
|
||||
|
||||
};
|
||||
packages = {
|
||||
clan-cli = pkgs.python3.pkgs.callPackage ./default.nix {
|
||||
inherit (self'.packages) ui-assets;
|
||||
inherit (inputs) nixpkgs;
|
||||
inherit (inputs.nixpkgs-for-deal.legacyPackages.${system}.python3Packages) deal;
|
||||
inherit (inputs.nixpkgs-for-deal.legacyPackages.${system}.python3Packages) schemathesis;
|
||||
clan-core-path = clanCoreWithVendoredDeps;
|
||||
};
|
||||
inherit (self'.packages.clan-cli) clan-openapi;
|
||||
|
||||
@@ -54,9 +54,5 @@ mkShell {
|
||||
$tmp_path/share/zsh/site-functions
|
||||
register-python-argcomplete --shell fish clan > $tmp_path/share/fish/vendor_completions.d/clan.fish
|
||||
register-python-argcomplete --shell bash clan > $tmp_path/share/bash-completion/completions/clan
|
||||
|
||||
|
||||
./bin/clan flakes create example_clan
|
||||
./bin/clan machines create examplemachine example_clan
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user