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

fix snap stable & edge release errors #3209

Merged
merged 3 commits into from
Jan 22, 2020
Merged

Conversation

casperdcl
Copy link
Contributor

@casperdcl casperdcl commented Jan 21, 2020

@casperdcl casperdcl added build Issues/features related to building dvc install packages. research labels Jan 21, 2020
@casperdcl casperdcl requested a review from efiop January 21, 2020 20:00
@casperdcl casperdcl self-assigned this Jan 21, 2020
@casperdcl casperdcl changed the title fix master/edge release provider argument conflicts fix snap stable & edge release errors Jan 21, 2020
@casperdcl
Copy link
Contributor Author

@efiop any idea what's the best way to avoid the custom --version logic of dvc?

@casperdcl casperdcl requested a review from shcheklein January 21, 2020 20:02
@efiop
Copy link
Contributor

efiop commented Jan 21, 2020

@casperdcl Maybe by simply replacing dvc/version.py with a new file with __version__ = _BASE_VERSION or something like that, if you are not able to comply with the existing logic in the package.

@efiop
Copy link
Contributor

efiop commented Jan 21, 2020

@casperdcl here is how we do it in setup.py https://github.com/iterative/dvc/blob/master/setup.py#L33 , but maybe you could simply install it as a python package inside snap? Sorry, still a bit confused how snap installs stuff internally.

@codecov
Copy link

codecov bot commented Jan 21, 2020

Codecov Report

Merging #3209 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3209   +/-   ##
=======================================
  Coverage   91.66%   91.66%           
=======================================
  Files         139      139           
  Lines        8667     8667           
=======================================
  Hits         7945     7945           
  Misses        722      722

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aa86eab...a6d55e3. Read the comment docs.

@casperdcl casperdcl changed the title fix snap stable & edge release errors [WIP] fix snap stable & edge release errors Jan 21, 2020
@casperdcl casperdcl changed the title [WIP] fix snap stable & edge release errors fix snap stable & edge release errors Jan 21, 2020
@casperdcl
Copy link
Contributor Author

casperdcl commented Jan 21, 2020

@efiop think this is finally fixed & mergeable

Copy link
Contributor

@efiop efiop left a comment

Choose a reason for hiding this comment

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

Thanks!

@efiop efiop merged commit a99fa4e into iterative:master Jan 22, 2020
@efiop
Copy link
Contributor

efiop commented Jan 22, 2020

@casperdcl Still failing https://travis-ci.com/iterative/dvc/jobs/278217133#L2170 🙁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues/features related to building dvc install packages. research
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snap stable channel not updating add snap tests
2 participants