Browse Source

Fixed package dependency. Fixed variable.

master
Franco Masotti 5 months ago
parent
commit
a8a94c365f
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 8
      Pipfile
  2. 2
      fattura_elettronica_reader/api.py
  3. 8
      setup.py

8
Pipfile

@ -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"

2
fattura_elettronica_reader/api.py

@ -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)

8
setup.py

@ -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',
],
)

Loading…
Cancel
Save