File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[tox]
22envlist =
3- py36
4- py36-env
53 py37
64 py38
5+ py39
6+ py310
7+ py311
78
8- [testenv]
9- commands =
10- pip install -e .[test]
11- pytest -vv
12- pytest -vv --ssl
9+ base_python = py311
1310
11+ isolated_build = true
1412
15- [testenv:py36-env]
16- setenv =
17- PYTEST_HTTPSERVER_HOST =0.0.0.0
18- PYTEST_HTTPSERVER_PORT =7777
13+ [testenv]
14+ whitelist_externals = poetry
15+ commands =
16+ poetry install -v --with test
17+ poetry run pytest -vv
18+ poetry run pytest -vv --ssl
Original file line number Diff line number Diff line change 1+ { pkgs ? import <nixpkgs> { } } :
2+
3+ let
4+ unstable = import <nixos-unstable> { config = { allowUnfree = true ; } ; } ;
5+ toxPython = p : p . withPackages ( p : [ p . pip ] ) ;
6+ basePython = p : ( p . withPackages ( p : [ p . virtualenv p . pip p . tox ] ) ) ;
7+
8+ in pkgs . mkShell {
9+ buildInputs = with pkgs ; [
10+ ( basePython python311 )
11+ ( toxPython python310 )
12+ ( toxPython python39 )
13+ ( toxPython python38 )
14+ ( toxPython python37 )
15+
16+ bashInteractive
17+ ] ;
18+ }
You can’t perform that action at this time.
0 commit comments