Skip to content

Revert "Bump uas-standards from 4.1.0 to 4.1.1"#18

Merged
mickmis merged 1 commit intomainfrom
revert-16-dependabot/uv/uas-standards-4.1.1
Oct 8, 2025
Merged

Revert "Bump uas-standards from 4.1.0 to 4.1.1"#18
mickmis merged 1 commit intomainfrom
revert-16-dependabot/uv/uas-standards-4.1.1

Conversation

@barroco
Copy link
Copy Markdown
Contributor

@barroco barroco commented Oct 8, 2025

Reverts #16

This library update introduces the following error:

Traceback (most recent call last):
  File "/app/geospatial-utils/main.py", line 85, in <module>
    main()
    ~~~~^^
  File "/app/geospatial-utils/main.py", line 61, in main
    ed318_data = adjusters.foca.adjust(ed318_data)
  File "/app/geospatial-utils/adjusters/foca.py", line 195, in adjust
    f.properties.restrictionConditions = _adjust_restriction_conditions(
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        original_restriction_conditions, original_type
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/app/geospatial-utils/adjusters/foca.py", line 153, in _adjust_restriction_conditions
    restriction_code = _restriction_code_for(restriction_conditions, _type)
  File "/app/geospatial-utils/adjusters/foca.py", line 136, in _restriction_code_for
    raise ValueError(
        f"CodeZoneType was {_type} rather than NO_RESTRICTION and no known ED-269 English restriction text matched '{restriction_conditions}'"
    )
ValueError: CodeZoneType was CodeZoneType.REQ_AUTHORIZATION rather than NO_RESTRICTION and no known ED-269 English restriction text matched '['The operation of unmanned aircraft is prohibited.']'

@barroco barroco marked this pull request as ready for review October 8, 2025 09:34
@barroco barroco closed this Oct 8, 2025
@barroco barroco reopened this Oct 8, 2025
@mickmis mickmis merged commit 0287307 into main Oct 8, 2025
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.

2 participants