explicit-python 2.4.1__py3-none-any.whl → 2.5.0__py3-none-any.whl

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: explicit-python
3
- Version: 2.4.1
3
+ Version: 2.5.0
4
4
  Summary: Набор компонентов для построения многослойной архитектуры
5
5
  Author-email: BARS Group <bars@bars-open.ru>
6
6
  Project-URL: Homepage, https://stash.bars-open.ru/projects/EDUBASE/repos/explicit/browse
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.9
17
17
  Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
20
21
  Requires-Python: >=3.9
21
22
  Description-Content-Type: text/markdown
22
23
  License-File: LICENSE
@@ -283,8 +284,39 @@ def update_person(person, data: 'PersonDTO'):
283
284
  Можно увидеть в тестовом приложении src/testapp.
284
285
 
285
286
  ## Запуск тестов
286
- ```sh
287
- $ tox
287
+
288
+ Тесты запускаются через `tox`. В системе должен быть установлен [uv](https://docs.astral.sh/uv/).
289
+
290
+ Для корректного запуска тестов необходимы следующие значения переменных окружения в системе. Вместо `<login>` и `<password>` необходимо подставить данные от УЗ БАРС:
291
+
292
+ ```bash
293
+ UV_INDEX="internal=http://<login>:<password>@nexus.py.bars.group/repository/pypi-all/simple"
294
+ UV_DEFAULT_INDEX="https://pypi.org/simple"
295
+ UV_INDEX_STRATEGY=unsafe-best-match
296
+ # Для docker 29+
297
+ TOX_DOCKER_GATEWAY=localhost
298
+ ```
299
+
300
+ Чтобы не менять значения системных переменных, можно создать `.env` файл c переменными окружения и запускать команды через [python-dotenv](https://github.com/theskumar/python-dotenv/).
301
+
302
+ Установка `tox` с необходимыми зависимостями:
303
+ ```bash
304
+ uv tool install tox --with tox-uv --with m3-tox-docker
305
+ ```
306
+
307
+ Или с использованием `python-dotenv`:
308
+ ```bash
309
+ dotenv run uv tool install tox --with tox-uv --with m3-tox-docker
310
+ ```
311
+
312
+ Запуск тестов:
313
+ ```bash
314
+ tox
315
+ ```
316
+
317
+ Через `python-dotenv`:
318
+ ```bash
319
+ dotenv run tox
288
320
  ```
289
321
 
290
322
 
@@ -24,8 +24,8 @@ explicit/messagebus/events.py,sha256=BKAqEqIC_V6sYMeHZQpAZBsigf9NanSgGZVTJlKX3-I
24
24
  explicit/messagebus/exceptions.py,sha256=rDQur7hAx2QyAGRgcQ_J0wN7GUIeZ1l9TvGHy9HVQr0,366
25
25
  explicit/messagebus/messagebus.py,sha256=1ef5zvZYKOCZRkS2xQX_1UDrR5SgIZvy5euNAZNhEuE,3652
26
26
  explicit/messagebus/queries.py,sha256=kMtT8Bm2YeZbrORAIqq0unou1V2XBz8hvLPXmmzHP_4,1616
27
- explicit_python-2.4.1.dist-info/licenses/LICENSE,sha256=CCIO8Y288mm2F53WG2U6QkY7qS7lthANGujcVt6fRlo,3455
28
- explicit_python-2.4.1.dist-info/METADATA,sha256=TgvBGS3AAQ_hpaEtsHDPgF2rrGyVQdkPdI0gKyRBJlM,13130
29
- explicit_python-2.4.1.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
30
- explicit_python-2.4.1.dist-info/top_level.txt,sha256=tt6T8l4Yji4ww87qZQcD4CbcwTIHy7NAPmU7QAfMcpY,9
31
- explicit_python-2.4.1.dist-info/RECORD,,
27
+ explicit_python-2.5.0.dist-info/licenses/LICENSE,sha256=CCIO8Y288mm2F53WG2U6QkY7qS7lthANGujcVt6fRlo,3455
28
+ explicit_python-2.5.0.dist-info/METADATA,sha256=iwP68xyTJOAE27qWbpkFDv08o1v8Pusnb2qyApJidhg,14504
29
+ explicit_python-2.5.0.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
30
+ explicit_python-2.5.0.dist-info/top_level.txt,sha256=tt6T8l4Yji4ww87qZQcD4CbcwTIHy7NAPmU7QAfMcpY,9
31
+ explicit_python-2.5.0.dist-info/RECORD,,