Change-Id: I1e4cea9de08806142ad552420aec1afec268d66e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
# devops-stages/stage-build.sh
#
-FROM ubuntu:20.04
+FROM ubuntu:22.04
ARG APT_PROXY
RUN if [ ! -z $APT_PROXY ] ; then \
python3 \
python3-all \
python3-dev \
- python3-setuptools
+ python3-setuptools \
+ python3-pip \
+ tox
-RUN python3 -m easy_install pip==22.3
-RUN pip install tox==3.24.5
+ENV LC_ALL C.UTF-8
+ENV LANG C.UTF-8
# See the License for the specific language governing permissions and
# limitations under the License.
-packaging==23.0
stdeb
setuptools-scm
setuptools<60
# See the License for the specific language governing permissions and
# limitations under the License.
#######################################################################################
-packaging==23.0
- # via
- # -r requirements-dist.in
- # setuptools-scm
+packaging==23.1
+ # via setuptools-scm
setuptools-scm==7.1.0
# via -r requirements-dist.in
stdeb==0.10.0
gnocchiclient
google-api-python-client
google-auth
-packaging==23.0
prometheus-api-client
prometheus-client
python-ceilometerclient
# python-ceilometerclient
# python-keystoneclient
# python-novaclient
-packaging==23.0
+packaging==23.1
# via
- # -r requirements.in
# matplotlib
# oslo-utils
# python-keystoneclient
[testenv]
usedevelop = True
-basepython = python3
+basepython = python3.10
setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE = 1
deps = -r{toxinidir}/requirements.txt
bash -c "for file in osm_webhook_translator/requirements*.in ; do \
UNSAFE="" ; \
if [[ $file =~ 'dist' ]] ; then UNSAFE='--allow-unsafe' ; fi ; \
- pip-compile -rU --no-header $UNSAFE $file ;\
+ pip-compile --resolver=backtracking -rU --no-header $UNSAFE $file ;\
out=`echo $file | sed 's/.in/.txt/'` ; \
sed -i -e '1 e head -16 tox.ini' $out ;\
done"