What kind of issue is this?
Configuration
Operating system: Ubuntu 18.04 LTS
PlatformIO Version (platformio --version): PlatformIO Core, version 6.0.2
Description of problem
The HISTORY.rst file claims that PlatformIO's minimum Python version is 3.6 but pio package publish requires 3.7 because it uses str.isascii().
(Ideally the Python code should be automatically checked to determine if it can be run on older versions of Python.)
Steps to Reproduce
- Run
pio package publish with python 3.6
Actual Results
...
File "/home/simon/.local/lib/python3.6/site-packages/platformio/package/commands/publish.py", line 116, in package_publish_cmd
check_archive_file_names(archive_path)
File "/home/simon/.local/lib/python3.6/site-packages/platformio/package/commands/publish.py", line 152, in check_archive_file_names
if not name.isascii():
AttributeError: 'str' object has no attribute 'isascii'
Expected Results
Package is published
What kind of issue is this?
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Ubuntu 18.04 LTS
PlatformIO Version (
platformio --version): PlatformIO Core, version 6.0.2Description of problem
The
HISTORY.rstfile claims that PlatformIO's minimum Python version is 3.6 butpio package publishrequires 3.7 because it usesstr.isascii().(Ideally the Python code should be automatically checked to determine if it can be run on older versions of Python.)
Steps to Reproduce
pio package publishwith python 3.6Actual Results
Expected Results
Package is published