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.1.0-rc1 #134

Closed
wants to merge 2 commits into from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 18, 2024

Bump BO4E from 0.6.2 to 202401.1.0-rc1.
BO4E rebuild: failed.

Changelog

Sourced from BO4E's changelog.

v202401.1.0-rc1

What's Changed

Full Changelog: bo4e/BO4E-python@v202401.0.2...v202401.1.0-rc1

Rebuild error
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.2/x64/lib/python3.12/site-packages/bo4e_generator/__main__.py", line 37, in generate_bo4e_schemas
    file_contents = parse_bo4e_schemas(input_directory, namespace, pydantic_v1)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/bo4e_generator/parser.py", line 209, in parse_bo4e_schemas
    parse_result = parser.parse()
                   ^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.2/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.2/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.2/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.2/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.2/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.2/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1571, in parse_ref
    self.parse_ref(item, path)
  File "/opt/hostedtoolcache/Python/3.12.2/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.2/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.2/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1497, in _get_ref_body
    return self._get_ref_body_from_remote(resolved_ref)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1510, in _get_ref_body_from_remote
    return self.remote_object_cache.get_or_put(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.2/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.2/x64/lib/python3.12/site-packages/datamodel_code_generator/parser/jsonschema.py", line 1512, in <lambda>
    default_factory=lambda _: load_yaml_from_path(full_path, self.encoding),
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/datamodel_code_generator/__init__.py", line 55, in load_yaml_from_path
    with path.open(encoding=encoding) as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/pathlib.py", line 1013, in open
    return io.open(self, mode, buffering, encoding, errors, newline)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/intermediate-bo4e-migration-models/intermediate-bo4e-migration-models/tmp/bo4e_schemas/enum/BoTyp.json'

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

2 participants