Skip to content

Commit 79d5951

Browse files
committed
cleaning old code and requirements.
1 parent f4ea493 commit 79d5951

File tree

4 files changed

+13
-38
lines changed

4 files changed

+13
-38
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
- RTKLib upgraded to release b34j from rtklibexplorer.
1111
- Switch server from eventlet to gevent + Gunicorn server.
1212
### Deprecated
13-
- Operating systems older than Debian 10 / Ubuntu 20.04 can't update RTKBase anymore.
13+
- Operating systems older than Debian 11 / Ubuntu 22.04 can't update RTKBase anymore.
14+
- Python release < 3.8 deprecated
1415
### Removed
1516
- Eventlet python module is not needed anymore.
1617
### Fixed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ A gnss receiver with a timepulse output is a very accurate [stratum 0](https://e
331331
332332
```
333333
## Requirements:
334-
Python >= 3.7
334+
Debian base distro >= 11 (Bullseye)
335+
Python >= 3.8
335336

336337
## History:
337338
See the [changelog](./CHANGELOG.md)

tools/install.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -129,21 +129,6 @@ install_gpsd_chrony() {
129129
cp /lib/systemd/system/chrony.service /etc/systemd/system/chrony.service
130130
sed -i s/^After=.*/After=gpsd.service/ /etc/systemd/system/chrony.service
131131

132-
#If needed, adding backports repository to install a gpsd release that support the F9P
133-
if lsb_release -sc | grep -qE 'bionic|buster'
134-
then
135-
if ! apt-cache policy | grep -qE 'buster-backports.* armhf'
136-
then
137-
#Adding buster-backports
138-
echo 'deb http://httpredir.debian.org/debian buster-backports main contrib' > /etc/apt/sources.list.d/backports.list
139-
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
140-
apt-get "${APT_TIMEOUT}" update || exit 1
141-
fi
142-
apt-get "${APT_TIMEOUT}" -t buster-backports install gpsd -y || exit 1
143-
else
144-
#We hope that the release is more recent than buster and provide gpsd 3.20 or >
145-
apt-get "${APT_TIMEOUT}" install gpsd -y || exit 1
146-
fi
147132
#disable hotplug
148133
sed -i 's/^USBAUTO=.*/USBAUTO="false"/' /etc/default/gpsd
149134
#Setting correct input for gpsd

web_app/requirements.txt

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,20 @@ bidict==0.22.1
22
blinker==1.6.3
33
Bootstrap-Flask==2.4.0
44
certifi==2024.2.2
5-
cffi==1.16.0;python_version>="3.8"
6-
cffi==1.15.1;python_version<"3.8"
5+
cffi==1.16.0
76
charset-normalizer==3.3.2
87
click==8.1.7
9-
cryptography==42.0.7;python_version>="3.8"
10-
cryptography==41.0.5;python_version<"3.8"
8+
cryptography==42.0.7
119
distro==1.8.0
12-
dnspython==2.6.1;python_version>="3.8"
13-
dnspython==2.3.0;python_version<"3.8"
14-
Flask==3.0.3;python_version>="3.8"
15-
Flask==2.2.5;python_version<"3.8"
16-
Flask-Login==0.6.3;python_version>="3.8"
17-
Flask-Login==0.6.3;python_version<"3.8"
10+
dnspython==2.6.1
11+
Flask==3.0.3
12+
Flask-Login==0.6.3
1813
Flask-SocketIO==5.3.6
19-
Flask-WTF==1.2.1;python_version>="3.8"
20-
Flask-WTF==1.1.1;python_version<"3.8"
14+
Flask-WTF==1.2.1
2115
gevent==24.2.1
2216
gunicorn==22.0.0
2317
h11==0.14.0
2418
idna==3.7
25-
importlib-metadata==6.7.0;python_version<"3.8"
2619
itsdangerous==2.1.2
2720
Jinja2==3.1.4
2821
lxml==4.9.3
@@ -37,15 +30,10 @@ pyserial==3.5
3730
pystemd==0.13.2
3831
python-engineio==4.8.0
3932
python-socketio==5.10.0
40-
requests==2.32.3;python_version>="3.8"
41-
requests==2.31.0;python_version<"3.8"
33+
requests==2.32.3
4234
simple-websocket==1.0.0
4335
six==1.16.0
44-
typing_extensions==4.7.1;python_version<"3.8"
4536
urllib3==2.0.7
46-
Werkzeug==3.0.3;python_version>="3.8"
47-
Werkzeug==2.2.3;python_version<"3.8"
37+
Werkzeug==3.0.3
4838
wsproto==1.2.0
49-
WTForms==3.1.0;python_version>="3.8"
50-
WTForms==3.0.1;python_version<"3.8"
51-
zipp==3.15.0;python_version<"3.8"
39+
WTForms==3.1.0

0 commit comments

Comments
 (0)