skshetry
78dd045d29
ci: drop __token__, it's the default ( #8157 )
2022-08-22 08:40:31 +05:45
skshetry
2ddbbdf5a4
ci: refactor binary executable building workflow ( #8156 )
...
This now uses the matrix to build executables from same jobs definition.
2022-08-22 08:38:58 +05:45
skshetry
17a565023b
build: bump ruby to 2.6 ( #8154 )
2022-08-20 23:32:23 +05:45
dependabot[bot]
685a2d5579
build(deps): Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0
...
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases )
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.9.1...0.10.0 )
---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-28 09:15:05 +02:00
dependabot[bot]
b094839210
build(deps): Bump actions/setup-python from 3 to 4
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-13 20:28:51 +05:45
dberenbaum
a3ee993739
remove .github/FUNDING.yml
2022-06-09 08:32:41 +05:45
dependabot[bot]
88d3582d40
build(deps): Bump pre-commit/action from 2.0.3 to 3.0.0
...
Bumps [pre-commit/action](https://github.com/pre-commit/action ) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/pre-commit/action/releases )
- [Commits](https://github.com/pre-commit/action/compare/v2.0.3...v3.0.0 )
---
updated-dependencies:
- dependency-name: pre-commit/action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-06 04:20:08 -07:00
Ruslan Kuprieiev
844f77b4f9
dvc: drop python 3.7
...
Also upgraded with `pyupgrade --py38-plus`
Fixes #7708
2022-05-30 16:51:35 +03:00
dependabot[bot]
1e0a4a26eb
build(deps): Bump codecov/codecov-action from 2.1.0 to 3
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.1.0 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-04-06 17:54:18 +02:00
Saugat Pachhai (सौगात)
565a813e2a
setup.cfg: tests: try to remove more dependencies
2022-03-31 13:36:43 +05:45
dependabot[bot]
290a593322
build(deps): Bump actions/cache from 2.1.7 to 3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-22 10:32:12 +08:00
dependabot[bot]
ab024a47b3
build(deps): Bump actions/checkout from 2.4.0 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-03 15:05:39 +08:00
dependabot[bot]
a2e25cf449
build(deps): Bump actions/setup-python from 2 to 3
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-01 17:30:52 +09:00
Amrit Ghimire and Saugat Pachhai
44a1146915
test: fix test failure in case of different default branch ( #6857 )
...
* test: fix test failure in case of different default branch
When the git config has set global `init.defaultBranch` different than master,
a few test cases were failing.
Currently, the test case is assuming the default branch to be set as
master.
This commit will introduce **initial_branch** option to git init call
which will ensure *master* branch is used as default for out test cases.
Set default git branch to main for test CI
Since main is going to be new default branch, it will let the test case
handle the scenario where default branch is set other than master.
Introduce isolation for git configuration
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2022-01-07 11:13:04 +05:45
David de la Iglesia Castro
1507a6ed99
Update benchmarks.yaml
2021-12-21 09:03:19 +05:45
Ruslan Kuprieiev
0bf56fe29b
rename master -> main
2021-12-15 22:19:36 +02:00
Ruslan Kuprieiev
42641ddd20
gha: remove remote leftovers
...
Followup for #7087
2021-12-03 23:11:22 +02:00
Paweł Redzyński
57c6b1036f
gha: allow builds for new 3.9 versions
...
Closes : #6975
2021-11-25 14:40:40 +02:00
Saugat Pachhai
950b576cbd
packages: build binary pkgs with Python 3.9
2021-11-25 14:40:11 +02:00
dependabot[bot]
13ca959e98
build(deps): Bump actions/cache from 2.1.6 to 2.1.7
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-24 08:47:13 +05:45
Saugat Pachhai (सौगात)
46289182d2
tests: run on Windows with Python 3.10
...
pygit2 wheels should be now available.
Had to skip pytest-docker for Windows + Python 3.10 due to
a dependency issue with it's dependency, see:
https://github.com/docker/docker-py/issues/2902 .
2021-11-20 18:52:31 +02:00
Paweł Redzyński
ab56e4bb9b
gha: limit python version to 3.9.7
...
Related: https://bugs.python.org/issue45235
Closes : #6956
2021-11-11 01:14:03 +02:00
dependabot[bot]
b927337a30
build(deps): bump actions/checkout from 2.3.5 to 2.4.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-03 12:47:22 +02:00
Saugat Pachhai
800fbc7ad0
Use -n=auto in tests
...
Linux/Windows machines have only 2 cores, whereas macOS machines have 3 cores. Maybe we are stretching available resources by 2x, let's see if `-n=auto` improves test freezes.
2021-10-22 08:46:55 +05:45
Peter Rowlands (변기호)
73f2fa8c93
git: use asyncssh as dulwich SSH vendor ( #6797 )
...
* git: support client kwargs for auth in remote methods
* tests: use docker for git/ssh server
* move dulwich backend into subdir
* add base sync<->async support
* dulwich: add initial asyncssh SSH vendor
* dulwich: use asyncssh as the default SSH vendor
* add test for git over ssh
* test read (fetch) over ssh
* ci: re-enable ssh tests
temporary workaround for #6788 , #6789
* move async stubs into dvc.scm.asyn
* tests: use sshfs and not dvc.fs.ssh
* allow explicit 0-length read in asyncssh vendor
2021-10-21 14:36:45 +09:00
Saugat Pachhai
0c41a25bbe
move some configs to pyproject.toml ( #6834 )
2021-10-19 19:47:51 +03:00
dependabot[bot]
4ed4766692
build(deps): Bump actions/checkout from 2.3.4 to 2.3.5 ( #6817 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-18 19:43:41 +05:45
Ruslan Kuprieiev
e9a7e0657d
dvc: drop 3.6 support ( #6792 )
...
* dvc: drop 3.6 support
Considering that 3.6 has ~2 months until EOL, and our deps are
dropping support for it already (e.g. pygit2), we are droppipping
it as well. This will reduce the load on our test CI as well, since
we've started supporting 3.10 recently.
* setup.cfg: adjust requirements
* daemon: remove 3.6 logic
* tests: utils: remove pre 3.7 logic
2021-10-12 18:53:28 +03:00
Saugat Pachhai and Ruslan Kuprieiev
8abda93e3e
use setuptools_scm and build_requires ( #6775 )
...
* use setuptools_scm and build_requires
* remove kwargs from setup.py
* fix tests; fetch in depth in github actions
* use build to build sdist/wheel
* try updating pip and setuptools
* update pip
* remove or unpin wheel
* bring back the version in pyinstaller
* Update scripts/build.py
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2021-10-12 17:58:14 +03:00
Ruslan Kuprieiev
53255c22b3
gha: tests: temporarily disable some remote tests ( #6789 )
...
* gha: tests: temporarily disable some remote tests
See #6788
* machine: upgrade tpi version
```
dvc/machine/backend/terraform.py:28:19: E1101: Instance of 'TerraformBackend' has no '_default_resource' member; maybe 'default_resource'? (no-member)
```
* tests: remotes: require --s3 for s3 tests
2021-10-12 17:26:47 +03:00
Paweł Redzyński
8580e66d60
gha: move cancelaltion into other workflows ( #6771 )
2021-10-08 18:03:07 +03:00
Saugat Pachhai
f628f670c9
advertise Python 3.10 support ( #6772 )
...
* advertise Python 3.10 support
Pygit2 does not have windows wheels yet and no pyarrow
for 3.10. But these platform-dependent things and
remote-dependent things should not stop us from
advertising support as we are pure-python based
package and we cannot claim support for all of our
dependencies.
* set pygit2 for Python 3.6 to <1.7
2021-10-08 15:50:05 +03:00
Saugat Pachhai
c5415342d0
move requirements to setup.cfg ( #6758 )
...
* move requirements to setup.cfg
* hash based on setup.cfg
* do not break webhdfs installation
2021-10-08 07:00:14 +05:45
Paweł Redzyński
dd86076ba6
gha: cancel previous workflows ( #6756 )
2021-10-07 17:59:44 +03:00
Ruslan Kuprieiev
32f435c47f
gha: benchmarks: fix pytest flags ( #6749 )
...
Kudos @skshetry for catching.
2021-10-06 17:07:41 +03:00
Ruslan Kuprieiev
7b68a6f0ca
gha: run benchmarks on PRs ( #6733 )
2021-10-05 14:18:43 +03:00
Saugat Pachhai
ee823a59b9
Run on Python3.10 ( #6745 )
2021-10-05 16:46:53 +05:45
Saugat Pachhai
46ad8745d3
Use latest pygit2 from master for 3.10 ( #6723 )
...
* Use latest pygit2 from master for 3.10
* ci: update brew
2021-10-01 11:48:11 +05:45
Ruslan Kuprieiev
e81c88e501
gha: increase timeouts ( #6645 )
2021-09-19 23:47:15 +03:00
Saugat Pachhai
e049c4bab1
Set timeout for tests back to 30
...
Reverts 93a200c
2021-09-15 19:10:52 +05:45
Ruslan Kuprieiev
93a200cf5f
gha: increase timeout
2021-09-14 18:37:10 +03:00
dependabot[bot]
1a1294848b
build(deps): Bump codecov/codecov-action from 2.0.3 to 2.1.0 ( #6606 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.3...v2.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-14 08:46:38 +05:45
Saugat Pachhai
1744028e09
Allow running package build manually on other PRs ( #6553 )
2021-09-07 22:28:50 +05:45
Saugat Pachhai
f9bb38b96f
Set timeout for jobs in Github Actions ( #6545 )
...
* Set timeout for jobs in Github Actions
Sometimes tests are getting frozen(most likely an issue with `pytest-xdist`), and sometimes the pip resolver is slow due to some weird constraints set by us or one of our dependencies.
The default timeout is 360 minutes (6hrs), but our test completes on ~18 minutes at maximum, so I think 30mins should be enough to account for occasional CI slowdown.
Also keeping the total job timeout at 45 mins, we usually require just 4 mins of extra time to do installation and setup but giving it 11 more minutes just in case.
Similarly, `lint` completes in <5 mins usually, but giving it a 10 mins timeout.
This should give us early feedback on the issue.
* Update setup.cfg
* Update setup.cfg
2021-09-07 14:08:22 +05:45
Ruslan Kuprieiev
6287b13ba3
gha: allow running tests on other branches ( #6520 )
...
Simplifies development for all contributors.
2021-09-02 17:55:54 +03:00
Peter Rowlands (변기호)
a69edcc2c8
tpi: lazily import python_terraform ( #6526 )
...
* machine: lazy load tpi/python_terraform only when needed
* remove terraform from package installers
* update tpi test imports
2021-09-02 17:09:31 +03:00
Ruslan Kuprieiev
5d7476a539
gha: packages: don't forget terraform
2021-08-27 23:43:28 +03:00
Ruslan Kuprieiev
341ab4fe9b
gha: packages: don't forget terraform
2021-08-27 23:38:21 +03:00
Peter Rowlands (변기호)
4ee98299ee
dvc machine: implement initial terraform support (#6462 )
...
* tpi: add naive terraform-provider-iterative wrapper
* executor: add naive backend/terraform wrapper
* setup: add dvc[terraform] install extras
* config: add feature.executor feature flag
* fix named executor config sections
* executor: add poc add/modify/remove/init/destroy commands
* relax python-terraform requirement
* ci: install terraform extras
* tpi: support .tf.json format
* s/executor/machine
* terraform: use separate dirs per machine
* s/init/create/
* reserve local machine name
* add initial ssh skeleton
* add initial machine unit tests
* add initial machine command tests
* add tests for add/remove
* enable feature by default in test env
* close temp pemfile object so it can be used on windows
* cleanup pemfile syntax
2021-08-27 12:46:24 +03:00
dependabot[bot]
ceb0964fcf
build(deps): Bump codecov/codecov-action from 2.0.2 to 2.0.3 ( #6487 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.2...v2.0.3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-25 08:22:52 +05:45