Skip to content

Add additional dependencies support for conda#14203

Draft
AbhishekBhaskar wants to merge 44 commits intomainfrom
abhishekbhaskar/add-additional-deps-conda
Draft

Add additional dependencies support for conda#14203
AbhishekBhaskar wants to merge 44 commits intomainfrom
abhishekbhaskar/add-additional-deps-conda

Conversation

@AbhishekBhaskar
Copy link
Contributor

What are you trying to accomplish?

Anything you want to highlight for special attention from reviewers?

How will you know you've accomplished your goal?

Checklist

  • I have run the complete test suite to ensure all tests and linters pass.
  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
  • I have written clear and descriptive commit messages.
  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
  • I have ensured that the code is well-documented and easy to understand.

robaiken and others added 30 commits January 19, 2026 12:42
* Implement pre-commit file fetching

* Add exclude path

* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement pre-commit file fetching

* Add exclude path

* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats

* Implement PreCommit file parser

* Add PreCommit ecosystem support with package manager and requirement classes

* Set typed: true for spec files to enable type checking

* add pre-commit to docker-dev-shell

* Change type annotation from strict to strong in multiple files

* lint

* Add pre commit fixtures to yaml linting ignore list

* Fix newline at end of file in .yamllint.yaml for pre_commit_configs ignore rule

* Refactor PackageManager and FileParser initialization for improved clarity

* lint
* add pre commit update checker functionality

* fix lint errors

* add more specs

* fix lint errors and failing specs

* add test for package details fetcher and latest version finder

* fix lint errors

* fix lint errors

* Add pre commit file updater functionality (#14020)

* add pre commit file updater

* fix same version in different repo issue

* fix lint errors

* update specs

* remove unecessary comments in code
* fix no files changed error

* add spec for no files changed error
* Implement pre-commit file fetching

* Add exclude path

* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement pre-commit file fetching

* Add exclude path

* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats

* Implement PreCommit file parser

* Add PreCommit ecosystem support with package manager and requirement classes

* Set typed: true for spec files to enable type checking

* add pre-commit to docker-dev-shell

* Change type annotation from strict to strong in multiple files

* lint

* Add pre commit fixtures to yaml linting ignore list

* Fix newline at end of file in .yamllint.yaml for pre_commit_configs ignore rule

* Refactor PackageManager and FileParser initialization for improved clarity

* lint
* add pre commit update checker functionality

* fix lint errors

* add more specs

* fix lint errors and failing specs

* add test for package details fetcher and latest version finder

* fix lint errors

* fix lint errors

* Add pre commit file updater functionality (#14020)

* add pre commit file updater

* fix same version in different repo issue

* fix lint errors

* update specs

* remove unecessary comments in code
* fix no files changed error

* add spec for no files changed error
…cosystems (#14115)

* add additional deps architecture

* add additional deps architecture

* add additional deps architecture
* add additional deps architecture

* add additional deps architecture

* add additional deps architecture

* add additional support for python

* fix sorbet and lint erros
* Removing additional depenency parsering, and using the python ecosystem's parsers

* reverting gem

* Refactor lower bound operator handling in version extraction
…14135)

* pre-commit scaffold

* removing bazel example

* Update file_parser_spec to use PreCommit::FileParser

* Pre commit file fetcher (#13982)

* Implement pre-commit file fetching

* Add exclude path

* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats

* Implement PreCommit file parser (#13991)

* Implement pre-commit file fetching

* Add exclude path

* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats

* Implement PreCommit file parser

* Add PreCommit ecosystem support with package manager and requirement classes

* Set typed: true for spec files to enable type checking

* add pre-commit to docker-dev-shell

* Change type annotation from strict to strong in multiple files

* lint

* Add pre commit fixtures to yaml linting ignore list

* Fix newline at end of file in .yamllint.yaml for pre_commit_configs ignore rule

* Refactor PackageManager and FileParser initialization for improved clarity

* lint

* Add pre commit update checker functionality (#14019)

* add pre commit update checker functionality

* fix lint errors

* add more specs

* fix lint errors and failing specs

* add test for package details fetcher and latest version finder

* fix lint errors

* fix lint errors

* Add pre commit file updater functionality (#14020)

* add pre commit file updater

* fix same version in different repo issue

* fix lint errors

* update specs

* remove unecessary comments in code

* Fix no files changed error (#14053)

* fix no files changed error

* add spec for no files changed error

* add additional deps architecture

* add additional deps architecture

* add additional deps architecture

* add additional support for python

* Removing additional depenency parsering, and using the python ecosystem's parsers

* Implement base architecture for additional dependencies support for ecosystems (#14115)

* add additional deps architecture

* add additional deps architecture

* add additional deps architecture

* Add additional dependencies support for python (#14117)

* add additional deps architecture

* add additional deps architecture

* add additional deps architecture

* add additional support for python

* fix sorbet and lint erros

* restore updater gemfile and lockfile

* call python requirements updater for update process

* call python requirements updater for update process

* Update pre_commit/lib/dependabot/pre_commit/additional_dependency_checkers/python.rb

Co-authored-by: Rob Aiken <6567647+robaiken@users.noreply.github.com>

* fix merge conflicts

---------

Co-authored-by: Rob Aiken <6567647+robaiken@users.noreply.github.com>
* feat: add support for Node.js additional dependencies in pre-commit hooks

- Implemented `parse_dep_string` method in `Dependabot::NpmAndYarn::Requirement` to parse package names and versions.
- Created `Node` class in `Dependabot::PreCommit::AdditionalDependencyCheckers` to handle Node.js additional dependencies.
- Updated `FileParser` to recognize Node.js additional dependencies and parse them correctly.
- Added integration tests for Node.js additional dependencies in pre-commit hooks.
- Updated Dockerfile and gemspec to include necessary dependencies for Node.js support.
- Created fixtures for testing Node.js additional dependencies in pre-commit configurations.

* replace StanderdError with specific errors
* Add Rust support for additional dependencies in pre-commit hooks

* Add Rust support for additional dependencies in pre-commit hooks

* adding back comments

* Fixing specs
* pre-commit scaffold

* removing bazel example

* Update file_parser_spec to use PreCommit::FileParser

* Pre commit file fetcher (#13982)

* Implement pre-commit file fetching

* Add exclude path

* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats

* Implement PreCommit file parser (#13991)

* Implement pre-commit file fetching

* Add exclude path

* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats

* Implement PreCommit file parser

* Add PreCommit ecosystem support with package manager and requirement classes

* Set typed: true for spec files to enable type checking

* add pre-commit to docker-dev-shell

* Change type annotation from strict to strong in multiple files

* lint

* Add pre commit fixtures to yaml linting ignore list

* Fix newline at end of file in .yamllint.yaml for pre_commit_configs ignore rule

* Refactor PackageManager and FileParser initialization for improved clarity

* lint

* Add pre commit update checker functionality (#14019)

* add pre commit update checker functionality

* fix lint errors

* add more specs

* fix lint errors and failing specs

* add test for package details fetcher and latest version finder

* fix lint errors

* fix lint errors

* Add pre commit file updater functionality (#14020)

* add pre commit file updater

* fix same version in different repo issue

* fix lint errors

* update specs

* remove unecessary comments in code

* Fix no files changed error (#14053)

* fix no files changed error

* add spec for no files changed error

* add additional dependencies support for go modules

* remove comments and fix lint erros

* fix sorbet errors

* remove comments

* fix merge conflicts

---------

Co-authored-by: Rob Aiken <6567647+robaiken@users.noreply.github.com>
* pre-commit scaffold

* removing bazel example

* Update file_parser_spec to use PreCommit::FileParser

* Pre commit file fetcher (#13982)

* Implement pre-commit file fetching

* Add exclude path

* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats

* Implement PreCommit file parser (#13991)

* Implement pre-commit file fetching

* Add exclude path

* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats

* Implement PreCommit file parser

* Add PreCommit ecosystem support with package manager and requirement classes

* Set typed: true for spec files to enable type checking

* add pre-commit to docker-dev-shell

* Change type annotation from strict to strong in multiple files

* lint

* Add pre commit fixtures to yaml linting ignore list

* Fix newline at end of file in .yamllint.yaml for pre_commit_configs ignore rule

* Refactor PackageManager and FileParser initialization for improved clarity

* lint

* Add pre commit update checker functionality (#14019)

* add pre commit update checker functionality

* fix lint errors

* add more specs

* fix lint errors and failing specs

* add test for package details fetcher and latest version finder

* fix lint errors

* fix lint errors

* Add pre commit file updater functionality (#14020)

* add pre commit file updater

* fix same version in different repo issue

* fix lint errors

* update specs

* remove unecessary comments in code

* Fix no files changed error (#14053)

* fix no files changed error

* add spec for no files changed error

* add additional deps support for ruby

* fix merge conflicts

* revert removed comment

---------

Co-authored-by: Rob Aiken <6567647+robaiken@users.noreply.github.com>
@AbhishekBhaskar AbhishekBhaskar self-assigned this Feb 17, 2026
Base automatically changed from pre-commit-ecosystem to main February 18, 2026 18:39
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