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

allow floats for package versions, add a test with a float-like branch (#2518) #2535

Merged
merged 1 commit into from
Jun 15, 2020

Conversation

beckjake
Copy link
Contributor

resolves #2518

Description

Allow package versions to be floats.

This is based on #2534 - once that merges, point this at dev/0.17.1

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

@cla-bot cla-bot bot added the cla:yes label Jun 11, 2020
@beckjake beckjake marked this pull request as ready for review June 11, 2020 20:20
Copy link
Contributor

@kwigley kwigley left a comment

Choose a reason for hiding this comment

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

👍 lgtm

@@ -48,17 +48,33 @@ class LocalPackage(Package):
local: str


# `float` also allows `int`, according to PEP484 (and jsonschema!)
Copy link
Contributor

Choose a reason for hiding this comment

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

good to know!

Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

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

LGTM!

Base automatically changed from fix/dbt-modules-in-project-dir to dev/0.17.1 June 15, 2020 17:29
@beckjake beckjake merged commit b9053a2 into dev/0.17.1 Jun 15, 2020
@beckjake beckjake deleted the feature/allow-package-version-floats branch June 15, 2020 17:29
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.

3 participants