Tests are broken
Some checks failed
Run tests / Run make test (push) Failing after 2m2s

This commit is contained in:
2024-03-14 16:45:37 +01:00
parent 4e9da77896
commit fd14702e4f
2 changed files with 9 additions and 6 deletions

View File

@@ -21,14 +21,16 @@ class SetupPythonEnvironment(MyCommand):
def run(self):
python_bin = sys.executable if sys.executable else 'python'
python_ver = sys.version_info.major
if python_ver == 3:
path = os.path.join('env', 'python3')
python_major_ver = sys.version_info.major
python_minor_ver = sys.version_info.minor
if python_major_ver == 3:
dirname = 'python%i.%i' % (python_major_ver, python_minor_ver)
path = os.path.join('env', dirname)
symlink_path = os.path.join('env', 'python')
venv_module = 'venv'
prompt = 'py3-dav'
prompt = 'py%i.%i-dav' % (python_major_ver, python_minor_ver)
else:
sys.stderr.write('Python %d is not supported.\n' % python_ver)
sys.stderr.write('Python %d is not supported.\n' % python_major_ver)
sys.exit(posix.EX_USAGE)
print('Creating new python environment in {path}'.format(path=path))
@@ -119,6 +121,7 @@ setup(
'django-datetime-widget2',
'pytz',
'selenium',
'setuptools',
'coverage',
],
extras_require={

View File

@@ -1,5 +1,5 @@
[tox]
envlist = py311
envlist = py312
[testenv]
recreate = false