Skip to content

Commit

Permalink
update requirements
Browse files Browse the repository at this point in the history
change-type: patch
  • Loading branch information
ab77 committed Nov 4, 2023
1 parent ceb9e0c commit 76ceece
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
11 changes: 6 additions & 5 deletions Dockerfile.template
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# --- build stage
FROM balenalib/%%BALENA_ARCH%%-python:3.10-build AS build
FROM balenalib/%%BALENA_ARCH%%-python:3.11-build AS build

LABEL [email protected]

# https://www.balena.io/docs/learn/more/masterclasses/cli-masterclass/#82-build-time-variables
ARG COMPILE_CODE

RUN install_packages \
cargo \
cmake \
python3-dev \
python3-venv \
rustc
python3-venv

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& rustc --version

WORKDIR /root

Expand Down Expand Up @@ -50,7 +51,7 @@ RUN if [ "$COMPILE_CODE" = '1' ]; then \


# --- runtime
FROM balenalib/%%BALENA_ARCH%%-python:3.10
FROM balenalib/%%BALENA_ARCH%%-python:3.11

LABEL [email protected]

Expand Down
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
boto3==1.16.9
cffi==1.14.3
Flask-SQLAlchemy==2.4.4
boto3==1.28.78
cffi==1.16.0
Flask-SQLAlchemy==3.1.1
Flask-SSLify==0.1.5
Flask==1.1.4
Flask==2.2.5
git+https://github.com/ab77/blockcypher-python.git@master#egg=blockcypher
git+https://github.com/paypal/PayPal-Python-SDK.git@master#egg=paypalrestsdk
GitPython==3.1.11
markupsafe==2.0.1
GitPython==3.1.40
markupsafe==2.1.3
multiprocessing_on_dill==3.5.0a4
Pillow==8.0.1
PyJWT==1.7.1
PyMySQL==0.10.1
PyMySQL==1.1.0
redis==3.5.3
requests==2.24.0
requests==2.31.0
8 changes: 7 additions & 1 deletion src/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ class NetflixVideoDiags(Base):
BuffersizeinBytes_a_v_ = Column(String(255), index=True, unique=False)
BuffersizeinSeconds_a_v_ = Column(String(255), index=True, unique=False)
CurrentCDN_a_v_ = Column(String(255), index=True, unique=False)
Downloadables_a_v_ = Column(String(255), index=True, unique=False)
PBCID = Column(String(255), index=True, unique=False)
CurrentDroppedFrames = Column(String(255), index=True, unique=False)
DFR = Column(String(255), index=True, unique=False)
Expand All @@ -263,6 +264,7 @@ class NetflixVideoDiags(Base):
MainThreadstall_sec = Column(String(255), index=True, unique=False)
MaxSustainableVideoBitrate = Column(String(255), index=True, unique=False)
MovieId = Column(String(255), index=True, unique=False)
PackageId = Column(String(255), index=True, unique=False)
PlayerDuration = Column(String(255), index=True, unique=False)
Playerstate = Column(String(255), index=True, unique=False)
Playing_Bufferingvmaf = Column(String(255), index=True, unique=False)
Expand Down Expand Up @@ -304,6 +306,7 @@ def __init__(
BuffersizeinBytes_a_v_,
BuffersizeinSeconds_a_v_,
CurrentCDN_a_v_,
Downloadables_a_v_,
PBCID,
CurrentDroppedFrames,
DFR,
Expand All @@ -314,6 +317,7 @@ def __init__(
MainThreadstall_sec,
MaxSustainableVideoBitrate,
MovieId,
PackageId,
PlayerDuration,
Playerstate,
Playing_Bufferingvmaf,
Expand Down Expand Up @@ -353,16 +357,18 @@ def __init__(
self.BuffersizeinBytes_a_v_ = BuffersizeinBytes_a_v_
self.BuffersizeinSeconds_a_v_ = BuffersizeinSeconds_a_v_
self.CurrentCDN_a_v_ = CurrentCDN_a_v_
self.PBCID = PBCID
self.CurrentDroppedFrames = CurrentDroppedFrames
self.DFR = DFR
self.Downloadables_a_v_ = Downloadables_a_v_
self.PBCID = PBCID
self.Duration = Duration
self.Esn = Esn
self.Framerate = Framerate
self.Latency = Latency
self.MainThreadstall_sec = MainThreadstall_sec
self.MaxSustainableVideoBitrate = MaxSustainableVideoBitrate
self.MovieId = MovieId
self.PackageId = PackageId
self.PlayerDuration = PlayerDuration
self.Playerstate = Playerstate
self.Playing_Bufferingvmaf = Playing_Bufferingvmaf
Expand Down

0 comments on commit 76ceece

Please sign in to comment.