Content-Length: 374047 | pFad | http://github.com/ethereum/execution-spec-tests/pull/1632

BB chore(fill): deprecate --flat-output flag by richardgreg Β· Pull Request #1632 Β· ethereum/execution-spec-tests Β· GitHub
Skip to content

chore(fill): deprecate --flat-output flag #1632

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

richardgreg
Copy link
Contributor

πŸ—’οΈ Description

  • Added [DEPRECATED] to help message
  • Added runtime warning when flag is used
  • Updated documentation to indicate deprecation
  • Added entry to CHANGELOG.md"

πŸ”— Related Issues

Fixes #1603

βœ… Checklist

  • All: Set appropriate labels for the changes.
  • All: Considered squashing commits to improve commit history.
  • All: Added an entry to CHANGELOG.md.
  • All: Considered updating the online docs in the ./docs/ directory.
  • Tests: All converted JSON/YML tests from ethereum/tests have been added to converted-ethereum-tests.txt.
  • Tests: A PR with removal of converted JSON/YML tests from ethereum/tests have been opened.
  • Tests: Included the type and version of evm t8n tool used to locally execute test cases: e.g., ref with commit hash or geth 1.13.1-stable-3f40e65.
  • Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.
  • Tests: For PRs implementing a missed test case, update the post-mortem document to add an entry the list.

Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@@ -132,7 +132,7 @@ def pytest_addoption(parser: pytest.Parser):
action="store_true",
dest="flat_output",
default=False,
help="Output each test case in the directory without the folder structure.",
help="[DEPRECATED] Output each test case in the directory without the folder structure. This flag will be removed in a future version.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
help="[DEPRECATED] Output each test case in the directory without the folder structure. This flag will be removed in a future version.",
help="[DEPRECATED] Output each test case in the directory without the folder structure. "
"This flag will be removed in a future version.",

Exceeds the character limit so the linter is going to complain.

@richardgreg richardgreg force-pushed the deprecate-flat-output branch from 3eaadee to dd40fdd Compare May 20, 2025 19:45
@danceratopz
Copy link
Member

This feature's quite useful to diff individual fixtures. I'm not sure we should deprecate it so fast.

@marioevz

@danceratopz
Copy link
Member

This feature's quite useful to diff individual fixtures. I'm not sure we should deprecate it so fast.

@marioevz

Nevermind, I was thinking of --single-fixture-per-file, not --not-flatoutput.

@marioevz
Copy link
Member

This feature's quite useful to diff individual fixtures. I'm not sure we should deprecate it so fast.

@marioevz

Sounds good, I think just adding the warning is ok since it avoids someone else from relying on the flag if we eventually want to remove it.

@richardgreg
Copy link
Contributor Author

richardgreg commented May 21, 2025

@marioevz is the failing CI test the fault of the implementation? Because I can't make a connection

@richardgreg richardgreg force-pushed the deprecate-flat-output branch from dd40fdd to 2ea88d4 Compare May 21, 2025 16:04
Copy link
Contributor

@winsvega winsvega left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

search for "flat_output" usages in the code. there are 2 files. the actual logic needs to be removed as well

@richardgreg
Copy link
Contributor Author

search for "flat_output" usages in the code. there are 2 files. the actual logic needs to be removed as well

Hi @winsvega, if you go through the comments, @marioevz seems satisfied with just the warnings for now. The plan is to remove it entirely in a future update. Or has the plan changed?

@richardgreg richardgreg force-pushed the deprecate-flat-output branch from 2ea88d4 to 8b28697 Compare May 29, 2025 07:52
@richardgreg richardgreg requested a review from marioevz May 29, 2025 08:11
- Added [DEPRECATED] to help message
- Added runtime warning when flag is used
- Updated documentation to indicate deprecation
- Added entry to CHANGELOG.md"
@richardgreg richardgreg force-pushed the deprecate-flat-output branch from 8b28697 to 20d03db Compare May 31, 2025 15:55
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.

Deprecate --flat-output option in fill
4 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/ethereum/execution-spec-tests/pull/1632

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy