Skip to content

Do not treat deprecation as an error#1744

Merged
HansRobo merged 2 commits intomasterfrom
fix/deprecation_error
Nov 20, 2025
Merged

Do not treat deprecation as an error#1744
HansRobo merged 2 commits intomasterfrom
fix/deprecation_error

Conversation

@HansRobo
Copy link
Copy Markdown
Member

@HansRobo HansRobo commented Nov 20, 2025

Description

Abstract

We have been upgrading deprecation warnings to errors in some packages, but I am removing this in this pull-request.
Turning warnings into errors is useful for maintaining good code, but turning deprecation into errors can cause build errors, preventing external libraries from implementing a transition period based on a normal API lifecycle.

Background

After awf/autoware_lanelet2_extension#88 build error has occured on build test.
https://github.com/tier4/scenario_simulator_v2/actions/runs/19520881881

However, the pull request does not make any breaking changes to the API, and follows the correct API replacement practice of using deprecation.

Destructive Changes

None

Known Limitations

None

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 20, 2025

Checklist for reviewers ☑️

All references to "You" in the following text refer to the code reviewer.

  • Is this pull request written in a way that is easy to read from a third-party perspective?
  • Is there sufficient information (background, purpose, specification, algorithm description, list of disruptive changes, and migration guide) in the description of this pull request?
  • If this pull request contains a destructive change, does this pull request contain the migration guide?
  • Labels of this pull request are valid?
  • All unit tests/integration tests are included in this pull request? If you think adding test cases is unnecessary, please describe why and cross out this line.
  • The documentation for this pull request is enough? If you think adding documents for this pull request is unnecessary, please describe why and cross out this line.

@HansRobo HansRobo self-assigned this Nov 20, 2025
@HansRobo HansRobo added the bump patch If this pull request merged, bump patch version of the scenario_simulator_v2 label Nov 20, 2025
@sonarqubecloud
Copy link
Copy Markdown

@HansRobo HansRobo merged commit ae02f8e into master Nov 20, 2025
19 checks passed
@HansRobo HansRobo deleted the fix/deprecation_error branch November 20, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump patch If this pull request merged, bump patch version of the scenario_simulator_v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants