Skip to content

Conversation

@guillaumecherel
Copy link
Contributor

@guillaumecherel guillaumecherel commented Dec 1, 2025

Purpose

Rationale

See #1380 (comment)

The pydantic field validators for ConventionalCommitMonorepoParserOptions are not being executed at all. This results in the path_filters not getting correctly resolved into the expected absolute paths.

This is due to the decorator @classmethod being applied on top of the decorator @field_validator on the validator functions.

How did you test?

See the steps to reproduce the error here: #1380 (comment)

Applying the fix in this PR fixes the final error.

How to Verify


PR Completion Checklist

  • Reviewed & followed the Contributor Guidelines

  • Changes Implemented & Validation pipeline succeeds

  • Commits follow the Conventional Commits standard
    and are separated into the proper commit type and scope (recommended order: test, build, feat/fix, docs)

  • Appropriate Unit tests added/updated

  • Appropriate End-to-End tests added/updated

  • Appropriate Documentation added/updated and syntax validated for sphinx build (see Contributor Guidelines)

@codejedi365 codejedi365 added the confirmed Prevent from becoming stale label Dec 8, 2025
codejedi365 pushed a commit to guillaumecherel/python-semantic-release that referenced this pull request Dec 14, 2025
@codejedi365 codejedi365 force-pushed the fix/monorepo-parser-path-filters branch from de6e687 to 1eca9d4 Compare December 14, 2025 17:58
codejedi365 pushed a commit to guillaumecherel/python-semantic-release that referenced this pull request Dec 14, 2025
@codejedi365 codejedi365 force-pushed the fix/monorepo-parser-path-filters branch from 1eca9d4 to b626e34 Compare December 14, 2025 19:13
codejedi365 pushed a commit to guillaumecherel/python-semantic-release that referenced this pull request Dec 14, 2025
@codejedi365 codejedi365 force-pushed the fix/monorepo-parser-path-filters branch from b626e34 to 2831207 Compare December 14, 2025 19:17
codejedi365 pushed a commit to guillaumecherel/python-semantic-release that referenced this pull request Dec 14, 2025
@codejedi365 codejedi365 force-pushed the fix/monorepo-parser-path-filters branch from 2831207 to bdad2ab Compare December 14, 2025 19:41
codejedi365 pushed a commit to guillaumecherel/python-semantic-release that referenced this pull request Dec 14, 2025
@codejedi365 codejedi365 force-pushed the fix/monorepo-parser-path-filters branch from bdad2ab to f424893 Compare December 14, 2025 20:38
codejedi365 pushed a commit to guillaumecherel/python-semantic-release that referenced this pull request Dec 14, 2025
@codejedi365 codejedi365 force-pushed the fix/monorepo-parser-path-filters branch from f424893 to e1c5891 Compare December 14, 2025 21:03
codejedi365 pushed a commit to guillaumecherel/python-semantic-release that referenced this pull request Dec 14, 2025
@codejedi365 codejedi365 force-pushed the fix/monorepo-parser-path-filters branch from e1c5891 to 3f232f3 Compare December 14, 2025 21:24
codejedi365 pushed a commit to guillaumecherel/python-semantic-release that referenced this pull request Dec 14, 2025
@codejedi365 codejedi365 force-pushed the fix/monorepo-parser-path-filters branch from 3f232f3 to 29c06ab Compare December 14, 2025 21:29
@codejedi365 codejedi365 force-pushed the fix/monorepo-parser-path-filters branch from 29c06ab to 24ad90a Compare December 14, 2025 21:34
@codejedi365 codejedi365 merged commit a51eadd into python-semantic-release:master Dec 14, 2025
9 checks passed
@codejedi365 codejedi365 added released and removed confirmed Prevent from becoming stale labels Dec 15, 2025
@codejedi365
Copy link
Contributor

🎉 This PR has been published as part of v10.5.3 🎉

You can find more information about this release on the GitHub Releases page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Monorepo path_filters fails to reference paths outside the current package subtree

2 participants