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

Build: pass environment explicitly #10388

Merged
merged 2 commits into from Jun 5, 2023
Merged

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Jun 5, 2023

With #10378 we now need to always pass an environment,
we can't just create a default one.

With #10378
we now need to always pass an environment,
we can't just create a default one.
@stsewd stsewd requested a review from a team as a code owner June 5, 2023 16:47
@stsewd stsewd requested a review from benjaoming June 5, 2023 16:47
Copy link
Contributor

@benjaoming benjaoming left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Assuming there are no risks involved here since 100% test coverage and otherwise a neutral change.

readthedocs/vcs_support/base.py Show resolved Hide resolved
for x in self.project.vcs_repo(
environment=self.build_environment
).parse_branches(data)
]
Copy link
Contributor

Choose a reason for hiding this comment

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

hehe, since it's test code... readability is acceptable 😄

readthedocs/rtd_tests/tests/test_version.py Show resolved Hide resolved
@stsewd stsewd merged commit ccb24e9 into main Jun 5, 2023
5 of 7 checks passed
@stsewd stsewd deleted the pass-environment-explicitily branch June 5, 2023 18: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.

None yet

2 participants