Skip to main content

m3-django-compatibility

m3-django-compatibility - это библиотека для обеспечения совместимости кода с разными версиями Django. Использование инструментов библиотеки позволяет писать код, работающий без изменений в разных версиях Django.

Поддерживаемые версии Django: 2.0 - 6.1.

Запуск тестов

Тесты запускаются через tox. В системе должен быть установлен uv.

Для корректного запуска тестов необходимы следующие значения переменных окружения в системе. Вместо <login> и <password> необходимо подставить данные от УЗ БАРС:

UV_INDEX="internal=http://<login>:<password>@nexus.py.bars.group/repository/pypi-all/simple"
UV_DEFAULT_INDEX="https://pypi.org/simple"
UV_INDEX_STRATEGY=unsafe-best-match
# Для docker 29+
TOX_DOCKER_GATEWAY=localhost

Чтобы не менять значения системных переменных, можно создать .env файл c переменными окружения и запускать команды через python-dotenv.

Установка tox с необходимыми зависимостями:

uv tool install tox --with tox-uv --with m3-tox-docker

Или с использованием python-dotenv:

dotenv run uv tool install tox --with tox-uv --with m3-tox-docker

Запуск тестов:

tox

Через python-dotenv:

dotenv run tox

Release files for m3-django-compatibility 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for m3-django-compatibility 2.2.0
File Size Uploaded Provenance Actions
m3_django_compatibility-2.2.0.tar.gz 17.5 kB Without provenance Details for m3_django_compatibility-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for m3-django-compatibility 2.2.0
File Interpreter ABI Platform Actions
m3_django_compatibility-2.2.0-py3-none-any.whl Python 3 none any Details for m3_django_compatibility-2.2.0-py3-none-any.whl

Total release size: 36.5 kB

Release files / m3_django_compatibility-2.2.0.tar.gz

Download URL m3_django_compatibility-2.2.0.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9ca27da58a88c6ca747494f9457176817deb0e76fccb2ce7d5f65b88cf5762e1
BLAKE2b-256 checksum
How to use checksums
be01b6fdeab8b3db7edcf605f82f2bfeed8cbde629f0b31d2fda951c54d752ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Release files / m3_django_compatibility-2.2.0-py3-none-any.whl

Download URL m3_django_compatibility-2.2.0-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a42ad9bfdf980b3477bdc96f7c35054421d6164becab644040b9290649011e69
BLAKE2b-256 checksum
How to use checksums
84ff5327502210964db62e5fbca4b4b451e8d9d524c628ea93666a55802c814b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Security for m3-django-compatibility 2.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page