From 7a67682abc3f5aaa65d0e39d1e33bc6bb03ccf22 Mon Sep 17 00:00:00 2001 From: UsamaSadiq Date: Fri, 10 Nov 2023 22:47:58 +0500 Subject: [PATCH] fix: add tox 4.0 support --- .readthedocs.yaml | 6 +++++- requirements/dev.in | 1 - requirements/dev.txt | 3 --- tox.ini | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 0f029d2f..c011984d 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,11 +5,15 @@ # Required version: 2 +build: + os: "ubuntu-22.04" + tools: + python: "3.8" + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/conf.py python: - version: 3.8 install: - requirements: requirements/doc.txt diff --git a/requirements/dev.in b/requirements/dev.in index 497f296e..3e059845 100644 --- a/requirements/dev.in +++ b/requirements/dev.in @@ -6,4 +6,3 @@ -r ci.txt # dependencies needed to setup testing environment on CI diff-cover # Changeset diff test coverage -tox-battery # Makes tox aware of requirements file changes diff --git a/requirements/dev.txt b/requirements/dev.txt index ca3b36bd..999399c1 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -316,9 +316,6 @@ tox==3.28.0 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/ci.txt - # tox-battery -tox-battery==0.6.2 - # via -r requirements/dev.in twine==4.0.2 # via -r requirements/quality.txt typing-extensions==4.8.0 diff --git a/tox.ini b/tox.ini index 84a62251..54d356ec 100644 --- a/tox.ini +++ b/tox.ini @@ -46,7 +46,7 @@ commands = setenv = DJANGO_SETTINGS_MODULE = test_utils.test_settings PYTHONPATH = {toxinidir} -whitelist_externals = +allowlist_externals = make rm deps = @@ -60,7 +60,7 @@ commands = python setup.py check --restructuredtext --strict [testenv:quality] -whitelist_externals = +allowlist_externals = make rm touch