Skip to content

Add feature flip for setuptools latest version #3200

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

Merged
merged 16 commits into from
Oct 31, 2017

Conversation

agjohnson
Copy link
Contributor

@agjohnson agjohnson commented Oct 27, 2017

Also, add a convenience method on the Project model for feature flag
dependent values.

Closes #3171
Requires #3194

self.project.get_feature_value(
Feature.USE_SPHINX_LATEST,
'sphinx<2',
'sphinx==1.5.6',
Copy link
Member

Choose a reason for hiding this comment

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

I like this pattern, more explicit. Could maybe use kwargs here, to make it more obvious what the options are.

@agjohnson agjohnson merged commit a6ec23c into master Oct 31, 2017
@agjohnson agjohnson deleted the project-feature-setuptools branch October 31, 2017 17:29
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.

3 participants