Ivan Grokhotkov
d01af529f6
Merge branch 'bugfix/idf_tools_pylauncher_v4.1' into 'release/v4.1'
...
idf_tools.py: fix typo in __PYVENV_LAUNCHER__ env variable name (backport v4.1)
See merge request espressif/esp-idf!7478
2020-02-18 16:24:56 +08:00
Ivan Grokhotkov
81298c3f70
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0
...
--no-site-packages is the default behavior since virtualenv 1.7
(released in Nov 2011). This option was removed in virtualenv 20.0.
2020-02-11 09:43:27 +01:00
Ivan Grokhotkov
e89392596c
idf_tools.py: fix typo in __PYVENV_LAUNCHER__ env variable name
...
Fixes the workaround added in 9279b72a6
.
2020-01-30 11:51:59 +01:00
Ivan Grokhotkov
86e5bea50d
Merge branch 'bugfix/server_down_message' into 'master'
...
tools: Produce user friendly error during install when the server is down
Closes IDFGH-2175
See merge request espressif/esp-idf!6718
2019-12-09 22:48:32 +08:00
Angus Gratton
0d5056f683
Merge branch 'bugfix/idf_tool_git_worktree' into 'master'
...
tools: Don't use git work-tree in idf_tools.py and try to parse IDF version from C header
Closes IDFGH-2203
See merge request espressif/esp-idf!6743
2019-11-26 13:57:12 +08:00
Anton Maklakov
0ed38ca24d
idf_tools.py: fix downloading for tools which have "on_request" options for some platforms.
...
'install' and 'download' options can be used for 'required' or 'all' tools
2019-11-24 19:11:33 +08:00
Ivan Grokhotkov
9fa3974447
idf_tools.py: when guessing IDF_PATH, set it in the enviroment
...
This allows the processes launched from idf_tools.py to use the value
of IDF_PATH. One such example is the installation of Python packages,
when requirements.txt uses IDF_PATH to refer to the esp-windows-curses
package.
Closes https://github.com/espressif/esp-idf/issues/4341
2019-11-18 16:22:25 +01:00
Roland Dobai
8a02feb671
tools: Don't use git work-tree in idf_tools.py
...
Closes https://github.com/espressif/esp-idf/issues/4355
2019-11-18 13:15:39 +01:00
Roland Dobai
98c629987f
tools: Produce user friendly error during install when the server is down
...
Closes https://github.com/espressif/esp-idf/issues/4329
2019-11-15 15:21:39 +01:00
Ivan Grokhotkov
9279b72a6c
idf_tools.py: fix virtualenv issue for macOS with homebrew
2019-10-30 19:44:15 +01:00
Ivan Grokhotkov
3bbb758bc5
idf_tools.py: add workaround for PermissionError in os.rename
...
Closes https://github.com/espressif/esp-idf/issues/4063
Closes https://github.com/espressif/esp-idf/issues/3819
2019-09-24 06:00:31 +02:00
X-Ryl669
81ffc87371
idf_tools.py: pass --work-tree instead of -C option to git
...
Older versions of git do not support -C option. Use --work-tree option
instead.
Closes https://github.com/espressif/esp-idf/issues/4018
Merges https://github.com/espressif/esp-idf/pull/4019
2019-09-24 06:00:31 +02:00
suda-morris
3753283ef3
idf_tool: fix unicode decode error
...
Closes https://github.com/espressif/esp-idf/issues/3841
2019-08-06 10:31:34 +08:00
Ivan Grokhotkov
3e17c69e4f
tools: idf_tools.py: allow downloading for a different platform
2019-07-28 07:27:00 +02:00
Ivan Grokhotkov
b70ac4deb7
tools: idf_tools.py: improve error message when no downloads found
...
...for the given platform.
Previously would raise AssertionError.
2019-07-23 06:55:30 +02:00
Ivan Grokhotkov
896d675248
idf_tools.py: add another platform string to handle Windows x86
2019-07-09 14:11:19 +02:00
He Yin Ling
9ecd0436f5
tools: fix idf_tools.py exception with python3
...
use `subprocess.Popen` when catch TypeError:
```
Traceback (most recent call last):
File "tools/idf_tools.py", line 1249, in <module>
main(sys.argv[1:])
File "tools/idf_tools.py", line 1245, in main
action_func(args)
File "tools/idf_tools.py", line 1038, in action_install
tool_obj.find_installed_versions()
File "tools/idf_tools.py", line 468, in find_installed_versions
ver_str = self.check_version()
File "tools/idf_tools.py", line 426, in check_version
version_cmd_result = run_cmd_check_output(cmd, None, extra_paths)
File "tools/idf_tools.py", line 176, in run_cmd_check_output
result = subprocess.run(cmd, capture_output=True, check=True, input=input_text)
File "/opt/pyenv/pyenv-1.2.6/versions/3.5.5/lib/python3.5/subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'
```
2019-07-04 15:06:00 +08:00
Ivan Grokhotkov
1a2bf4d8ff
idf_tools: print additional info when download verification fails
2019-07-01 14:51:43 +02:00
Anton Maklakov
dcc9459690
tools, ci: Use non-interactive mode for idf_tools in CI
2019-06-05 15:56:03 +07:00
Ivan Grokhotkov
8f7e01baed
tools: add metadata file and idf_tools.py
2019-05-24 17:04:23 +08:00