Skip to content
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

Re-add the agent_install_dependency_modules project config option #7312

Closed

Conversation

arnaudsjs
Copy link
Contributor

@arnaudsjs arnaudsjs commented Mar 6, 2024

Description

Re-add agent_install_dependency_modules project config option for backwards compatibility.

Mergetool is going to reject this, because I modified an existing changelog entry. So I will merge this by hand.

Part of #7026

Self Check:

  • Attached issue to pull request
  • Changelog entry
  • Type annotations are present
  • Code is clear and sufficiently documented
  • No (preventable) type errors (check using make mypy or make mypy-diff)
  • Sufficient test cases (reproduces the bug/tests the requested feature)
  • Correct, in line with design
  • End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
  • If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

project._metadata.agent_install_dependency_modules = False
# reset cache
source_info._requires = None
# when enabled, also install dependencies on other modules
Copy link
Contributor

Choose a reason for hiding this comment

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

The comments should also be swapped

Copy link
Contributor

@Hugo-Inmanta Hugo-Inmanta left a comment

Choose a reason for hiding this comment

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

I missed something in the comments in the test case

@arnaudsjs
Copy link
Contributor Author

Merged in 16d844b and 92b611a

@arnaudsjs arnaudsjs closed this Mar 6, 2024
@arnaudsjs arnaudsjs deleted the issue/re-add-agent-install-dependency-modules branch March 6, 2024 13:45
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.

None yet

3 participants