Skip to content

Commit

Permalink
Remove old hacks to support weird execution environments
Browse files Browse the repository at this point in the history
Because I want to support new weird execution evironments (to wit
tox-uv).
  • Loading branch information
mgedmin committed Sep 18, 2024
1 parent 6fef7e3 commit b69ed9a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,11 @@ passenv =
PIP_FIND_LINKS
commands =
zope-testrunner --test-path=src --tests-pattern='^f?tests$' {posargs:-pvc}
# Install 'persistent' before installing zodbbrowser because *sigh*
# pip install collects the packages to be installed before installing them,
# and some of the packages (BTrees) have a setup_requires=['persistent'], which
# means setuptools will try to download the persistent egg (despite pip already
# having downloaded it), and on Rackspace VMs setuptools downloads over HTTPS
# suffer from mysterious truncation issues that cause md5 hash validation
# problems that break the build. My hope is that if 'persistent' is already
# installed (not just downloaded) then setup.py egg_info will find it and use
# it instead of attempting to download it again.
# Upgrade pip because otherwise we can't find lxml wheels because the ABI tag
# format changed or something.
extras = test
deps =
zope.testrunner
persistent
pip
install_command = python -m pip install -U {opts} {packages}

[testenv:py]
install_command = python -m pip install -U {opts} {packages}
commands =
python --version
zope-testrunner --test-path=src --tests-pattern='^f?tests$' {posargs}
Expand Down

0 comments on commit b69ed9a

Please sign in to comment.