Skip to content

Commit

Permalink
Python 3.5 is really old...
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jan 18, 2024
1 parent 77a490c commit 08c850e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bin/oca_install_addons
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ cat test-requirements.txt

# To be sure to install addons from this repo if they are dependencies of dependencies,
# we create a constraints file with local directory references to the addons to test.
oca_list_addons_to_test_as_reqs >> test-constraints.txt
if python -c 'import sys; sys.exit(sys.version_info < (3,6))' ; then
# python >= 3.6
oca_list_addons_to_test_as_reqs >> test-constraints.txt
else
# old python where pip does not support URL constraints
touch test-constraints.txt
fi
cat test-constraints.txt

# show pip config
Expand Down

0 comments on commit 08c850e

Please sign in to comment.