Skip to content

Commit 23ad2d2

Browse files
authored
Merge pull request #31 from kivy-garden/feature/bump_versions
⬆️ Bumps dependencies versions
2 parents 2638c49 + 416054b commit 23ad2d2

File tree

4 files changed

+20
-25
lines changed

4 files changed

+20
-25
lines changed

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ SYSTEM_DEPENDENCIES= \
2020
libsdl2-image-dev \
2121
libsdl2-mixer-dev \
2222
libsdl2-ttf-dev \
23-
libpython3.6-dev \
23+
libpython3.7-dev \
2424
libpython$(PYTHON_VERSION)-dev \
2525
libzbar-dev \
2626
pkg-config \
27-
python3.6 \
28-
python3.6-dev \
2927
python$(PYTHON_VERSION) \
3028
python$(PYTHON_VERSION)-dev \
29+
python$(PYTHON_VERSION)-venv \
3130
tox \
3231
virtualenv
3332
OS=$(shell lsb_release -si 2>/dev/null || uname)
@@ -46,7 +45,7 @@ ifeq ($(OS), Ubuntu)
4645
endif
4746

4847
$(VIRTUAL_ENV):
49-
virtualenv -p $(PYTHON_WITH_VERSION) $(VIRTUAL_ENV)
48+
$(PYTHON_WITH_VERSION) -m venv $(VIRTUAL_ENV)
5049
$(PIP) install Cython==0.28.6
5150
$(PIP) install -r requirements.txt
5251

buildozer.spec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ version.filename = %(source.dir)s/kivy_garden/zbarcam/version.py
3838
# comma seperated e.g. requirements = sqlite3,kivy
3939
requirements =
4040
android,
41-
kivy==1.11.1,
41+
hostpython3==3.8.1,
42+
Kivy==58e70b1,
4243
libiconv,
4344
libzbar,
44-
Pillow==5.2.0,
45-
python3,
45+
Pillow==7.0.0,
46+
python3==3.8.1,
4647
pyzbar==0.1.8,
4748
xcamera==2019.928
4849
@@ -218,7 +219,7 @@ android.arch = armeabi-v7a
218219
#p4a.fork = kivy
219220
220221
# (str) python-for-android branch to use, defaults to master
221-
p4a.branch = develop
222+
p4a.branch = v2020.04.29
222223
223224
# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
224225
#p4a.source_dir =

dockerfiles/Dockerfile-android

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ ENV USER="user"
1414
ENV HOME_DIR="/home/${USER}"
1515
ENV WORK_DIR="${HOME_DIR}" \
1616
PATH="${HOME_DIR}/.local/bin:${PATH}"
17-
ENV DOCKERFILES_VERSION="v20190902" \
18-
DOCKERFILES_URL="https://raw.githubusercontent.com/AndreMiras/dockerfiles"
19-
ENV MAKEFILES_URL="${DOCKERFILES_URL}/${DOCKERFILES_VERSION}/buildozer_android"
20-
ENV BUILDOZER_VERSION="81c31c4"
2117

2218

2319
# configure locale
@@ -36,23 +32,24 @@ RUN apt update -qq > /dev/null && apt install -qq --yes --no-install-recommends
3632
cmake \
3733
curl \
3834
gettext \
35+
git \
3936
libffi-dev \
4037
libltdl-dev \
41-
libpython2.7-dev \
42-
libpython3.6-dev \
38+
libpython3.7-dev \
39+
libssl-dev \
4340
libtool \
4441
make \
4542
openjdk-8-jdk \
4643
pkg-config \
47-
python3.6 \
48-
python3-setuptools \
44+
python3.7 \
4945
python3-pip \
5046
python3-setuptools \
5147
python \
5248
sudo \
5349
unzip \
5450
xz-utils \
55-
zip
51+
zip \
52+
zlib1g-dev
5653

5754
# prepare non root env, with sudo access and no password
5855
RUN useradd --create-home --shell /bin/bash ${USER} && \
@@ -62,10 +59,8 @@ RUN useradd --create-home --shell /bin/bash ${USER} && \
6259
USER ${USER}
6360
WORKDIR ${WORK_DIR}
6461

65-
# install buildozer & dependencies and enforces buildozer master until next release
66-
RUN curl --location --progress-bar ${MAKEFILES_URL}/buildozer.mk --output buildozer.mk && \
67-
make -f buildozer.mk && \
68-
pip3 install --upgrade https://github.com/kivy/buildozer/archive/${BUILDOZER_VERSION}.zip
62+
# install buildozer & dependencies
63+
RUN pip3 install --user --upgrade buildozer Cython==0.28.6
6964

7065
COPY . ${WORK_DIR}
7166
# limits the amount of logs for Travis

requirements/requirements-base.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Kivy==1.11.1
1+
Kivy==2.0.0rc2
22
Kivy-Garden==0.1.4
3-
numpy==1.16.1
4-
opencv-python==4.1.1.26
5-
Pillow==5.2.0
3+
numpy==1.18.4
4+
opencv-python==4.2.0.34
5+
Pillow==7.0.0
66
pyzbar==0.1.8
77
xcamera==2019.928

0 commit comments

Comments
 (0)