Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump BO4E from 0.6.2 to 202401.0.1.1 #179

Closed
wants to merge 2 commits into from

Conversation

github-actions[bot]
Copy link
Contributor

Bump BO4E from 0.6.2 to 202401.0.1.1.
BO4E rebuild: failed.

Changelog

Sourced from BO4E's changelog.

v202401.0.1.1

Fixes #724 for the release v202401.0.1

Full Changelog: bo4e/BO4E-python@v202401.0.1...v202401.0.1.1

Rebuild error
``` Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/http.py", line 6, in import httpx ModuleNotFoundError: No module named 'httpx'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/runner/work/intermediate-bo4e-migration-models/intermediate-bo4e-migration-models/bo4e/bo4e_updater.py", line 54, in catch_all_exceptions
yield
File "/home/runner/work/intermediate-bo4e-migration-models/intermediate-bo4e-migration-models/bo4e/bo4e_updater.py", line 92, in rebuild_bo4e
generate_bo4e_schemas(
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/bo4e_generator/main.py", line 38, in generate_bo4e_schemas
file_contents = parse_bo4e_schemas(input_directory, namespace, pydantic_v1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/bo4e_generator/parser.py", line 208, in parse_bo4e_schemas
parse_result = parser.parse()
^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/base.py", line 1142, in parse
self.parse_raw()
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1682, in parse_raw
self._parse_file(self.raw_obj, obj_name, path_parts)
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1766, in _parse_file
self.parse_obj(obj_name, root_obj, path_parts or ['#'])
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1643, in parse_obj
self.parse_ref(obj, path)
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1577, in parse_ref
self.parse_ref(property_value, path)
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1569, in parse_ref
self.parse_ref(item, path)
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1555, in parse_ref
self.resolve_ref(obj.ref)
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1545, in resolve_ref
self._get_ref_body(relative_path),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1496, in _get_ref_body
return self._get_ref_body_from_url(resolved_ref)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1501, in _get_ref_body_from_url
return self.remote_object_cache.get_or_put(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/init.py", line 28, in get_or_put
value = self[key] = default_factory(key)
^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1502, in
ref, default_factory=lambda key: load_yaml(self._get_text_from_url(key))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/base.py", line 543, in _get_text_from_url
from datamodel_code_generator.http import get_body
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/datamodel_code_generator/http.py", line 8, in
raise Exception(
Exception: Please run $pip install 'datamodel-code-generator[http]' to resolve URL Reference

</blockquote>
</details>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant