Fixed package dependency. Fixed variable.

This commit is contained in:
Franco Masotti 2021-12-21 22:03:48 +01:00
parent 66d9b7be95
commit a8a94c365f
Signed by: frnmst
GPG Key ID: 24116ED85666780A
3 changed files with 9 additions and 9 deletions

View File

@ -35,9 +35,9 @@ pre-commit = ">=2,<3"
[packages]
appdirs = ">=1.4,<1.5"
atomicwrites = ">=1.4,<1.5"
filetype = ">=1.0,<1.1"
atomicwrites = ">=1.4,<2"
filetype = ">=1,<2"
fpyutils = ">=2,<3"
lxml = ">=4.6.3,<4.7"
PyYAML = ">=5.4,<5.5"
requests = ">=2.25,<3"
PyYAML = ">=6,<7"
requests = ">=2.26,<3"

View File

@ -789,7 +789,7 @@ def pipeline(source: str, file_type: str, data: dict):
if not data['ignore assets checksum']:
if not asset_checksum_matches(trusted_list_file):
raise AssetsChecksumDoesNotMatch("Run the program with the '--ignore-assets-checksum' option, contact the developer or open a pull request. Have a look at " + const['Docs']['assets url'])
raise AssetsChecksumDoesNotMatch("Run the program with the '--ignore-assets-checksum' option, contact the developer or open a pull request. Have a look at " + const.Docs['assets url'])
trusted_list_xml_root = parse_xml_file(trusted_list_file)

View File

@ -53,11 +53,11 @@ setup(
],
install_requires=[
'appdirs>=1.4,<1.5',
'atomicwrites>=1.4,<1.5',
'filetype>=1.0,<1.1',
'atomicwrites>=1.4,<2',
'filetype>=1,<2',
'fpyutils>=2,<3'
'lxml>=4.6.3,<4.7',
'PyYAML>=5.4,<5.5',
'requests>=2.25,<3',
'PyYAML>=6,<7',
'requests>=2.26,<3',
],
)