Skip to content

Commit

Permalink
Fix python to 3.8 (faucetsdn#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Oct 22, 2020
1 parent 4020e83 commit 3aa936f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions bin/setup_base
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
ROOT=$(realpath $(dirname $0)/..)
cd $ROOT

PVERSION=3.8
GO_VERSION=1.13.3

sudo apt-get update
Expand All @@ -12,10 +13,10 @@ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubun
sudo apt-get update

sudo apt-get install openvswitch-switch protobuf-compiler \
python3-venv python3-dev jq docker-ce net-tools
python$PVERSION-venv python$PVERSION-dev jq docker-ce net-tools

if [ -z "$VIRTUAL_ENV" ]; then
python3 -m venv venv
python$PVERSION -m venv venv
source venv/bin/activate
fi

Expand Down
6 changes: 3 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Priority: optional
Maintainer: Faucet Maintainers <[email protected]>
Build-Depends: debhelper (>= 9),
dh-python,
python3-all (>= 3.7), python3-all (<< 3.8),
python3-all (>= 3.8),
python3-setuptools,
python3-yaml,
python3-prometheus-client,
Expand All @@ -17,15 +17,15 @@ Build-Depends: debhelper (>= 9),
pylint,
python3-pbr (>= 1.9),
Standards-Version: 3.9.6
X-Python3-Version: >= 3.7, << 3.8
X-Python3-Version: >= 3.8
Homepage: https://github.com/faucetsdn/forch
Vcs-Git: https://github.com/faucetsdn/forch.git
Vcs-Browser: https://github.com/faucetsdn/forch

Package: python3-forch
Architecture: all
Depends: python3-faucet (= FAUCET_VERSION),
python3-all (>= 3.7), python3-all (<< 3.8),
python3-all (>= 3.8),
python3-grpcio,
python3-netaddr,
python3-networkx,
Expand Down

0 comments on commit 3aa936f

Please sign in to comment.