diracx-testing 0.0.1a46__tar.gz → 0.0.1a47__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diracx-testing
3
- Version: 0.0.1a46
3
+ Version: 0.0.1a47
4
4
  Summary: TODO
5
5
  License: GPL-3.0-only
6
6
  Classifier: Intended Audience :: Science/Research
@@ -12,7 +12,7 @@ Requires-Python: >=3.11
12
12
  Requires-Dist: httpx
13
13
  Requires-Dist: joserfc
14
14
  Requires-Dist: pytest
15
- Requires-Dist: pytest-asyncio
15
+ Requires-Dist: pytest-asyncio==1.0.0
16
16
  Requires-Dist: pytest-cov
17
17
  Requires-Dist: pytest-xdist
18
18
  Requires-Dist: uuid-utils
@@ -14,7 +14,7 @@ classifiers = [
14
14
  ]
15
15
  dependencies = [
16
16
  "pytest",
17
- "pytest-asyncio",
17
+ "pytest-asyncio==1.0.0",
18
18
  "pytest-cov",
19
19
  "pytest-xdist",
20
20
  "httpx",
@@ -8,6 +8,7 @@ import argparse
8
8
  import ast
9
9
  import importlib.util
10
10
  import json
11
+ import os
11
12
  import shlex
12
13
  import subprocess
13
14
  import sys
@@ -165,6 +166,9 @@ def regenerate_client(openapi_spec: Path, client_module: str):
165
166
  f"--output-folder={client_root}",
166
167
  ]
167
168
 
169
+ if "AUTOREST_HOME" in os.environ:
170
+ os.makedirs(os.environ["AUTOREST_HOME"], exist_ok=True)
171
+
168
172
  # ruff: disable=S603
169
173
  subprocess.run(cmd, check=True)
170
174