fix: update lxml constraint and pyplayready import path

- Update lxml dependency to allow version 6.x (required by subby 0.3.23)
- Fix pyplayready exception import path (moved to misc.exceptions in 0.6.3)

fixes #17
This commit is contained in:
Sp5rky
2025-09-30 12:53:27 -06:00
parent e92e5c2ba3
commit c77a8737ef
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ dependencies = [
"crccheck>=1.3.0,<2", "crccheck>=1.3.0,<2",
"jsonpickle>=3.0.4,<4", "jsonpickle>=3.0.4,<4",
"langcodes>=3.4.0,<4", "langcodes>=3.4.0,<4",
"lxml>=5.2.1,<6", "lxml>=5.2.1,<7",
"pproxy>=2.7.9,<3", "pproxy>=2.7.9,<3",
"protobuf>=4.25.3,<5", "protobuf>=4.25.3,<5",
"pycaption>=2.2.6,<3", "pycaption>=2.2.6,<3",

View File

@@ -8,7 +8,7 @@ from Crypto.Random import get_random_bytes
from pyplayready.cdm import Cdm from pyplayready.cdm import Cdm
from pyplayready.crypto.ecc_key import ECCKey from pyplayready.crypto.ecc_key import ECCKey
from pyplayready.device import Device from pyplayready.device import Device
from pyplayready.exceptions import InvalidCertificateChain, OutdatedDevice from pyplayready.misc.exceptions import InvalidCertificateChain, OutdatedDevice
from pyplayready.system.bcert import Certificate, CertificateChain from pyplayready.system.bcert import Certificate, CertificateChain
from pyplayready.system.pssh import PSSH from pyplayready.system.pssh import PSSH