Closed yathon closed 11 months ago
Python3.7.9: Python version 3.7 does not support parenthesized context expressions
The same error as Python3.6.8.
# /.../venv/lib/python3.7/site-packages/borb/pdf/canvas/layout/geography/map.py # read map with (open(geojson_file, "r") as json_file_handle): ^
In the dev repo, I added a workflow that will automatically run a single test, in multiple python versions. I saw that this failed (same error as the one you have) and fixed the error. You can expect support for version 3.7 and upwards.
Describe the bug
Env
OS: MacOS Sonoma 14.1.1 Python: Python 3.6.8 DevTool: Pycharm 2022.3
Sources code
Remark
Is the example code outdated or is Python 3.6 no longer supported?