Skip to content

Commit b577072

Browse files
committed
V4.0.04
Deprecated function, platform.linux_distribution, replaced with distro. Site packages updated.
1 parent 9094780 commit b577072

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v4.0.04 (2019-11-18)
4+
* Deprecated function, platform.linux_distribution, replaced with distro. This is needed for Python 3.8. However, there is still an outstanding issue in the passlib package when using Python 3.8.
5+
* Site packages updated to current releases.
6+
37
## v4.0.03(2019-11-17)
48
* (FIXED) Cloudinary image upload issue.
59

plexpy/common.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
import platform
1717
from collections import OrderedDict
18+
import distro
1819

1920
from plexpy import version
2021

@@ -23,7 +24,7 @@
2324
PLATFORM = platform.system()
2425
PLATFORM_RELEASE = platform.release()
2526
PLATFORM_VERSION = platform.version()
26-
PLATFORM_LINUX_DISTRO = ' '.join(x for x in platform.linux_distribution() if x)
27+
PLATFORM_LINUX_DISTRO = distro.name(pretty=True)
2728
PLATFORM_DEVICE_NAME = platform.node()
2829
BRANCH = version.PLEXPY_BRANCH
2930
RELEASE = version.PLEXPY_RELEASE_VERSION

plexpy/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
PLEXPY_BRANCH = "master"
2-
PLEXPY_RELEASE_VERSION = "v4.0.03"
2+
PLEXPY_RELEASE_VERSION = "v4.0.04"

requirements.in

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ paho-mqtt
3434
gntp
3535
PyNMA
3636
profilehooks
37+
distro
3738

3839
#asn1crypto
3940
#backports.functools-lru-cache

requirements.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ click==7.0 # via pip-tools
1818
cloudinary==1.18.2
1919
configobj==5.0.6
2020
cryptography==2.8 # via pyopenssl
21+
distro==1.4.0
2122
dnspython==1.16.0 # via ipwhois
2223
facebook-sdk==3.1.0
2324
feedparser==5.2.1
@@ -45,18 +46,18 @@ profilehooks==1.11.0
4546
pycparser==2.19 # via cffi
4647
pyjwt==1.7.1
4748
pynma==1.0
48-
pyopenssl==19.0.0
49+
pyopenssl==19.1.0
4950
python-dateutil==2.8.1 # via arrow
5051
python-twitter==3.5
5152
pytz==2019.3 # via apscheduler, tempora, tzlocal
52-
pywin32==225 ; sys_platform == "win32"
53+
pywin32==227 ; sys_platform == "win32"
5354
requests-oauthlib==1.3.0 # via python-twitter
5455
requests==2.22.0
5556
six==1.13.0 # via apscheduler, bleach, cheroot, cloudinary, configobj, cryptography, mock, pip-tools, pyopenssl, python-dateutil, tempora, websocket-client
5657
soupsieve==1.9.5 # via beautifulsoup4
5758
tempora==1.14.1 # via portend
5859
tzlocal==2.0.0
59-
urllib3==1.25.6
60+
urllib3==1.25.7
6061
webencodings==0.5.1 # via bleach
6162
websocket-client==0.56.0
6263
xmltodict==0.12.0

0 commit comments

Comments
 (0)