mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2025-12-26 17:02:24 +01:00
fix python
Maybe it now works on CI as well?
This commit is contained in:
2
Makefile
2
Makefile
@@ -68,7 +68,7 @@ $(VENV_BIN):
|
||||
touch $@
|
||||
|
||||
$(PYTHON_BIN): $(VENV_BIN) requirements.txt
|
||||
python3 -m venv -p python3 $(VENV_DIR)
|
||||
python3 -m venv $(VENV_DIR)
|
||||
$@ -m pip install -r requirements.txt
|
||||
|
||||
$(MAKO_RENDER): $(PYTHON_BIN) $(wildcard $(GEN_LIB_SRC)/*)
|
||||
|
||||
@@ -7,3 +7,4 @@ ghp-import
|
||||
pyright
|
||||
types-PyYAML
|
||||
inflect
|
||||
urllib3
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# type cache: {'api': type-api.yaml-contents }
|
||||
tc = dict()
|
||||
for api_type in make.types:
|
||||
data = yaml.load_all(open(os.path.join(directories.api_base, 'type-%s.yaml' % api_type)))
|
||||
data = yaml.load_all(open(os.path.join(directories.api_base, 'type-%s.yaml' % api_type)), Loader = yaml.Loader)
|
||||
tc[api_type] = merge_required_fields(type(directories)(next(data)))
|
||||
# end for each type to load cache for
|
||||
%>\
|
||||
|
||||
Reference in New Issue
Block a user