mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixes for Python 3.12 compatibility:
- Upgrade testtools package - Use platstdlib instead of stdlib to get the path
This commit is contained in:
parent
92549af3d4
commit
adab656a79
@ -86,7 +86,7 @@ _create_python_virtualenv() {
|
|||||||
|
|
||||||
# Figure out some paths for use when completing the venv
|
# Figure out some paths for use when completing the venv
|
||||||
# Use "python3" here as we want the venv path
|
# Use "python3" here as we want the venv path
|
||||||
DIR_PYMODULES_PATH=$(python3 -c "from sysconfig import get_path; print(get_path('stdlib'))")
|
DIR_PYMODULES_PATH=$(python3 -c "from sysconfig import get_path; print(get_path('platstdlib'))")
|
||||||
|
|
||||||
# Use {SYSTEM_PYTHON_PATH} here as we want the system path
|
# Use {SYSTEM_PYTHON_PATH} here as we want the system path
|
||||||
if [ "$1" == "debian" ]; then
|
if [ "$1" == "debian" ]; then
|
||||||
|
@ -23,7 +23,7 @@ pbr==5.11.1
|
|||||||
pycodestyle>=2.5.0
|
pycodestyle>=2.5.0
|
||||||
python-mimeparse==1.6.0
|
python-mimeparse==1.6.0
|
||||||
testscenarios==0.5.0
|
testscenarios==0.5.0
|
||||||
testtools==2.6.0
|
testtools==2.7.1
|
||||||
traceback2==1.4.0
|
traceback2==1.4.0
|
||||||
selenium==4.10.0
|
selenium==4.10.0
|
||||||
# Pinned for https://github.com/eventlet/eventlet/issues/805
|
# Pinned for https://github.com/eventlet/eventlet/issues/805
|
||||||
|
Loading…
Reference in New Issue
Block a user