Ruslan Kuprieiev
4a3f06df3a
oss: require pycryptodome<3.9.9
...
3.9.9 doesn't have windows wheels https://github.com/Legrandin/pycryptodome/issues/465
2020-11-03 20:28:44 +02:00
Ruslan Kuprieiev
2225764438
tests: set subprocess._active to None ( #4818 )
...
To better reflect https://github.com/python/cpython/pull/14360
2020-11-03 19:31:04 +02:00
Peter Rowlands (변기호)
644444b5a7
experiments: fix checkpoint checkout issues ( #4823 )
...
* checkout: add option to suppress missing file warnings
* experiments: fix checkpoints branch checkout issues
* experiments: _get_branch_containing should not change scm checkout
2020-11-03 22:21:54 +09:00
Saugat Pachhai
60b69b93cb
Add flaky-service ( #4834 )
...
Use master branch for flaky-service
Generate TAP results during pytest
2020-11-03 18:41:10 +05:45
Saugat Pachhai
fec1499c67
Move interpolation logic to the Context ( #4833 )
2020-11-03 17:42:28 +05:45
Saugat Pachhai
a38941b47e
Refactor context set/alias to Context class ( #4831 )
2020-11-03 17:06:46 +05:45
Saugat Pachhai
6a9ab9cdfb
dvc.yaml: implement set keyword ( #4757 )
2020-11-02 20:32:07 +05:45
Saugat Pachhai
e211423398
Implement foreach ... in loop in dvc.yaml ( #4734 )
...
* Implement foreach...in loop in dvc.yaml
* fix tests
2020-11-02 18:56:23 +05:45
Peter Rowlands (변기호)
96cdd073bd
diff: handle empty output status ( #4826 )
2020-11-02 21:16:29 +09:00
simonlousky
59d5c73c5e
increased http timeout to 60 seconds ( #4820 )
2020-11-01 13:19:55 +02:00
Kevin Lloyd Bernal
58bed0e9ba
import: add --no-exec param ( #4817 )
...
To be consistent with the same --no-exec param in import-url.
Fixes #4567 .
2020-10-31 20:03:33 +02:00
Ruslan Kuprieiev
92752e0392
dvc: upgrade dulwich to 0.20.11
...
This one has wheels for python 3.9
2020-10-30 19:16:43 +02:00
João Vitor
4a7bb49bb0
command: add dvc push instruction after dvc repro ( #4737 )
...
* command: add dvc push instruction after dvc repro
Adds a logger.info() statement to remind the user to run dvc push after
running dvc repro.
Fixes #2359
* command: change dvc push instruction for dvc repro
* command: Use backticks and else in dvc repro log
2020-10-30 15:47:00 +01:00
Peter Rowlands (변기호)
3d58f4b8ce
git: move branch iteration functionality from experiments into scm.git ( #4810 )
...
* git: move branch iteration functionality from experiments into scm.git
* add branch_revs unit test
2020-10-30 19:06:35 +09:00
Peter Rowlands (변기호) and Paweł Redzyński
f827d641d5
add: warn on cache link errors instead of failing ( #4801 )
...
* add: warn on cache link failure instead of error
* add test case
* fix linted string
Co-authored-by: Paweł Redzyński <[email protected] >
Co-authored-by: Paweł Redzyński <[email protected] >
2020-10-30 02:01:11 +02:00
Paweł Redzyński
9940540917
metrics/plots: test metrics collection on no target on revision ( #4789 )
...
* metrics: include revision information when collecting metrics files
* plots: test warning message on no plot on revision
* plots/metrics: move to one package, introduce common tests
* tests: fix utils placement
2020-10-30 02:00:09 +02:00
Ruslan Kuprieiev
32fa8e33c4
git: use dulwich for .gitignore ( #4809 )
...
In my tests `Git._ignore` is taking around ~65seconds for the whole test
suit(~50K invocations). The reason is that `gitpython` is launching a real
`git check-ignore` process, that takes time and resources.
Switching to `pygit2` or `dulwich` makes it drop to ~5seconds, saving us
almost a minute of the test run time and a lot of resources by not
launching any processes. I've chosen `dulwich` over `pygit2` here
because it is much more pythonic and as long as the performance is
on-par with `pygit2` it is better for us to use `dulwich`.
2020-10-30 01:01:58 +02:00
Peter Rowlands (변기호)
911534116e
experiments: fix stash ordering bug ( #4805 )
2020-10-29 18:01:34 +09:00
Ruslan Kuprieiev
9b136f0c3f
pyarrow: upgrade to 2.0.0 ( #4795 )
2020-10-27 19:14:30 +02:00
Ruslan Kuprieiev
411b388960
dvc: bump to 1.9.1
1.9.1
2020-10-27 17:33:27 +02:00
Juliano Efson Sales
e6016ca202
tests: testing when overwriting files ( #4738 )
2020-10-27 15:52:16 +02:00
Peter Rowlands (변기호)
b2495aa230
add: fix issue when adding already tracked symlinked files ( #4778 )
...
* LocalOutput: paths symlinked outside of git can't be gitignored
* utils: contains_symlink_up_to should only check parent dirs on add
* tests: update test_add symlink cases
* add: forbid adding symlinked dirs or files inside symlinked dirs
* update tests
* add troubleshooting link
2020-10-27 15:39:01 +02:00
f4522760ba
--jobs now takes effect on imported data (#4765 )
...
* `--jobs` now takes effect on imported data
fix #4692
* Tests for this change
* Solve issue on python3.6 and 3.7
* Update tests/unit/test_external_repo.py
* Update tests/unit/test_external_repo.py
* Update tests/unit/test_external_repo.py
* Update tests/unit/test_external_repo.py
* tests: fix formatting
Co-authored-by: Ruslan Kuprieiev <[email protected] >
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-10-27 01:21:51 +02:00
Ruslan Kuprieiev
0736c64188
gha: don't create gs creds file if no creds
2020-10-27 00:23:34 +02:00
Paweł Redzyński
6cf194f85f
plot: fix no metrics data detection ( #4764 )
2020-10-26 20:05:55 +02:00
Paweł Redzyński
5038fd225b
plots/metrics: support show for no repo ( #4761 )
2020-10-26 20:04:49 +02:00
Ruslan Kuprieiev
bfecd7d8e8
gha: add gs creds ( #4791 )
...
* gha: add gs creds
Related to #4418
* tests: gs: don't use gcloud
2020-10-26 19:20:58 +02:00
Ruslan Kuprieiev
a5bdfa90f0
gha: add aws creds ( #4790 )
...
Related to #4418
2020-10-26 17:02:07 +02:00
Paweł Redzyński
4d75e75631
test_update_import: roll back skip ( #4781 )
2020-10-26 15:28:30 +02:00
Tomás Farías Santana
f8ba5daae2
Replace dict calls for literals ( #4784 )
...
* Replace dict calls for literals
* Pin flake8-comprehensions version to 3.3.0
2020-10-25 19:51:22 +02:00
Sami Jawhar
831e85682e
Experiments: allow setting of list parameters ( #4769 )
...
* Allow setting of list parameteres
Check if dict is Mapping or list before using .get()
* Added test for dvc exp run with list paramater
* Add more tests for string parameter modification
2020-10-23 14:35:17 +09:00
Saugat Pachhai
ec05e6026f
Display coverage report on the GHA log and measure branch coverage ( #4760 )
...
* Display coverage report on the terminal and Measure branch coverage
* Add source path
* Install wheel, run in editable mode
2020-10-22 20:28:50 +03:00
Ruslan Kuprieiev
0669d8d885
dvc: bump to 1.9.0
1.9.0
2020-10-22 20:22:18 +03:00
Ruslan Kuprieiev
2c7d89939c
gdrive: get rid of empty file hack ( #4774 )
2020-10-22 20:07:55 +03:00
Saugat Pachhai
e8c4924997
Make codecov push results on every run ( #4754 )
...
* Make codecov push results on every run
* codecov: do not comment on pull requests
2020-10-22 17:17:26 +03:00
Samuel Neugber
2747e77012
Escape spaces in file paths when running commands on SSH remote ( #4767 )
...
* Escape file paths for calculation of md5 hashes on ssh remote
* Add tests for hardlink and improved md5 test with PropertyMock
* Add additional special characters to check for fix of issue #4628 and fix formatting
* Fix linting errors
* Move tests to correct file and use injected ssh_connection instead of setting it up from scratch
2020-10-22 13:57:18 +03:00
Peter Rowlands (변기호)
87f1c42acf
experiments: wrap column entries with rich.Text ( #4771 )
2020-10-22 16:40:08 +09:00
Peter Rowlands (변기호)
8a5dc6a781
init: move welcome message from Repo.init to command.init ( #4759 )
...
* repo: add quiet flag for Repo.init
* move welcome message to command/init
2020-10-22 12:49:48 +09:00
Paweł Redzyński
33ece011fb
TestCmdCacheDir: roll back darwin skip ( #4673 )
2020-10-21 23:36:16 +03:00
Peter Rowlands (변기호)
79232dfedf
checkpoints: --continue from last run experiment by default ( #4758 )
...
* checkpoints: `--continue` with no args resumes most recent experiment
* add test for --continue :last
2020-10-21 17:25:16 +09:00
Saugat Pachhai
aa7b4c6340
Add tests for resolving stage data ( #4753 )
...
* Add test, and fix resolving of paths for params
Improve merging of vars and imported params, improve tracking
Resolve wdir correctly
* Fix windows relpath
* isort imports
2020-10-21 05:47:48 +05:45
Saugat Pachhai
668002cb01
Revert "Track flaky tests using Google's service ( #4749 )" ( #4755 )
...
This reverts commit 7527a220f6 .
2020-10-20 08:19:00 -07:00
Peter Rowlands (변기호)
25efd0efe8
checkpoints: allow missing outputs on checkout and stage.run ( #4750 )
2020-10-20 21:44:01 +09:00
Saugat Pachhai
b0ae5e2251
Support parametrization from params or vars section in dvc.yaml ( #4751 )
...
* Implement importing from params
* Change varname
* Add tests
* fix pylint issues
2020-10-20 04:16:13 -07:00
Ruslan Kuprieiev
e48055077d
plots: don't allow in non-dvc repo ( #4745 )
2020-10-20 11:31:57 +03:00
Saugat Pachhai
7527a220f6
Track flaky tests using Google's service ( #4749 )
...
* Track flaky tests using Google's service
https://flaky-dashboard.web.app
More info: https://github.com/GoogleCloudPlatform/flaky-service
* Increment version
2020-10-19 23:24:11 -07:00
Peter Rowlands (변기호)
feaa5cfcb2
experiments: fix checkpoints sorting issues in dvc exp show ( #4740 )
...
* experiments: order experiment (branches) by timestamp
* checkpoints: sort checkpoint branches by tip commit values
* remove sort logic from dvc.scm
2020-10-20 14:54:43 +09:00
Saugat Pachhai
10ae13132d
Use lxml wheel instead of legacy setup.py builds ( #4748 )
...
`lxml` now provides wheel for Python3.9.
Also, enable windows test for Python3.9
2020-10-19 22:23:51 -07:00
Harsh Patel
924323f54f
lock: added troubleshooting doc link in error message ( #4325 ) ( #4721 )
...
* lock: added troubleshooting doc link in error message (#4325 )
* updated lock error message (iterative#4325)
2020-10-19 20:47:08 +03:00
Alexei Tenitski
235d4c9a94
#1618 Custom message when cache and remote are in sync ( #4694 )
...
* #1618 Custom message when cache and remote are in sync
* Output the correct remote name during dvc status
* Simplify logic
2020-10-19 20:38:05 +03:00