skshetry
4db2e89938
build: use macos-11 to build package ( #9091 )
...
macos-10.15 image has been deprecated for a while, see https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/ and https://github.com/actions/runner-images/issues/5583 .
setup-ruby removed the support for these images yesterday: https://github.com/ruby/setup-ruby/pull/467 .
which fails our package builds. Now using macos-11 to build packages.
2023-02-28 17:33:05 +05:45
Ruslan Kuprieiev
e56d97bb28
gha: user ubuntu 20.04 for deb packages
...
18.04 will reach EOL in april and will be dropped by gha.
18.04 also comes with an old sqlite version which forces us to use obsolete
syntax.
2023-02-18 08:00:58 +02:00
skshetry
7e423b668f
pkging: also post released packages to test.pypi.org
2022-11-07 18:57:53 +05:45
skshetry
29b3dc1f9e
fix 3.10 in setup-python
2022-11-01 16:35:24 +05:45
skshetry
fa5a9abdeb
build: bump pyinstaller packages python version to 3.10 ( #8511 )
...
bump pyinstaller packages python version to 3.10
As 3.11 is now released, let's bump pyinstaller packages to 3.10 (we always keep them 1 version behind).
2022-11-01 16:24:00 +05:45
skshetry
4b720e5820
remove .codecov.yml and MANIFEST.in, move .coveragerc to pyproject.toml ( #8500 )
...
* remove .codecov.yml and MANIFEST.in, move .coveragerc to pyproject.toml
* remove scripts/pypi_upload.sh
2022-11-01 10:11:55 +05:45
skshetry
120a5879bb
ci: push package to test.pypi.org ( #8495 )
...
* ci: push package to test.pypi.org
* include dvc.testing and license file
2022-10-31 23:34:00 +05:45
Step Security Bot
c8e39523c3
[StepSecurity] ci: Harden GitHub Actions ( #8496 )
...
Signed-off-by: StepSecurity Bot <[email protected] >
2022-10-31 23:27:18 +05:45
skshetry
7648e715f8
move project config to pyproject.toml ( #8493 )
...
* move config to pyproject.toml
* ci: use pyproject.toml for cache key
* pyproject.toml: use recursive dependencies for dev and all
* Update pyproject.toml
2022-10-31 22:43:48 +05:45
skshetry
6477ade557
build: skip install fpm and ruby on Windows ( #8169 )
2022-08-23 18:02:47 +05:45
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]
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
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]
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
Ruslan Kuprieiev
0bf56fe29b
rename master -> main
2021-12-15 22:19:36 +02:00
Saugat Pachhai
950b576cbd
packages: build binary pkgs with Python 3.9
2021-11-25 14:40:11 +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
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
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
Saugat Pachhai
1744028e09
Allow running package build manually on other PRs ( #6553 )
2021-09-07 22:28:50 +05:45
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
Batuhan Taskaya
0e3db0d323
ci: move to ubuntu-18 from ubuntu-16 ( #6101 )
2021-06-02 17:31:28 +03:00
dependabot[bot]
14e1511eee
build(deps): bump actions/setup-ruby from 1 to 1.1.3 ( #5994 )
...
Bumps [actions/setup-ruby](https://github.com/actions/setup-ruby ) from 1 to 1.1.3.
- [Release notes](https://github.com/actions/setup-ruby/releases )
- [Commits](https://github.com/actions/setup-ruby/compare/v1...v1.1.3 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 13:06:40 +05:45
dependabot[bot]
c71a576a7a
build(deps): bump actions/setup-python from v2.2.1 to v2.2.2 ( #5804 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from v2.2.1 to v2.2.2.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.2.1...dc73133d4da04e56a135ae2246682783cc7c7cb6 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 14:22:57 +03:00
Ruslan Kuprieiev
4f8cfc025b
gha: remove leftovers
2021-04-06 14:19:25 +03:00
Ruslan Kuprieiev
14f05073ad
gha: packages: don't build snap ( #5774 )
...
* Delete snap directory
* gha: packages: remove snap
2021-04-06 13:59:09 +03:00
dependabot[bot]
c3bf0e1cb5
build(deps): bump actions/setup-python from v2.1.4 to v2.2.1 ( #5702 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from v2.1.4 to v2.2.1.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.1.4...3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-26 18:40:55 +05:45
dependabot[bot]
cdb5d668da
build(deps): bump actions/upload-release-asset from v1.0.1 to v1.0.2 ( #5704 )
...
Bumps [actions/upload-release-asset](https://github.com/actions/upload-release-asset ) from v1.0.1 to v1.0.2.
- [Release notes](https://github.com/actions/upload-release-asset/releases )
- [Commits](https://github.com/actions/upload-release-asset/compare/v1.0.1...e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-26 12:48:57 +00:00
dependabot[bot]
d04aaf4ae1
build(deps): bump actions/checkout from v2.3.2 to v2.3.4 ( #5698 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from v2.3.2 to v2.3.4.
- [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.2...5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-26 12:40:26 +00:00
Ruslan Kuprieiev
c0671a2d9b
gha: don't upload pkg artifacts
2021-03-26 03:18:29 +02:00
Ruslan Kuprieiev
f8498d6340
gha: don't build packages for PRs
2021-03-26 03:17:22 +02:00
Ruslan Kuprieiev
49cdc2bea3
build: add osx signing/notarization ( #5695 )
...
* build: add osx signing/notarization
* gha: temporarily enable pkg builds
2021-03-26 02:31:32 +02:00
Ruslan Kuprieiev
8bebed93dd
build: osxpkg: build lxml ( #5687 )
...
lxml wheels are built with an old SDK, which breaks osxpkg notarization:
```
* error for path "dvc-2.0.7.pkg/dvc-2.0.7.pkg Contents/Payload/usr/local/lib/dvc/lxml/etree.cpython-37m-darwin.so": The binary uses an SDK older than the 10.9 SDK.
```
2021-03-24 20:30:03 +02:00
Ruslan Kuprieiev
f2ba67aece
build: upgrade pyinstaller to 4.2 ( #5682 )
...
* build: upgrade pyinstaller to 4.2
* pyinstaller: hooks: remove hook-googleapiclient.model.py
https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-googleapiclient.model.py
* gha: use python 3.8 for pyinstaller
2021-03-24 09:43:05 +02:00
Ruslan Kuprieiev
19cdef1675
build: separate building and packaging ( #5675 )
...
* build: separate pyinstaller and fpm/innosetup
* gha: upload deb/rpm/osxpkg/exe artifacts
* build: dynamically generate dvc version
2021-03-23 19:55:44 +02:00
Ruslan Kuprieiev
98a1a92fa3
snap: debug failing tests
2021-03-03 23:11:19 +02:00
Ruslan Kuprieiev
51988475a4
gha: packages: update for 2.0
2021-02-17 04:38:45 +02:00
Ruslan Kuprieiev
2f6a8a7349
gha: upgrade checkout and setup-python
2020-11-17 05:54:33 +02:00
Paweł Redzyński
2b90d7dfaf
tests, packages: roll back environmental packages setup ( #4728 )
2020-10-15 14:19:25 +03:00
Paweł Redzyński
3e011d70d5
github actions: windows: fix packaging ( #4711 )
2020-10-13 21:31:48 +02:00
Paweł Redzyński
549f342db9
gha: fix github token providing for assets upload ( #4703 )
2020-10-12 18:18:20 +03:00
Paweł Redzyński
09f9506ca0
github actions: migrate to envrionmental files ( #4684 )
2020-10-09 11:33:06 +03:00
Ruslan Kuprieiev
15b1e7072b
gha: don't build packages for PRs
...
Related to #4468
2020-10-06 20:16:37 +03:00
Ruslan Kuprieiev
2f030e870b
Update packages.yaml
2020-09-24 18:53:50 +03:00
Ruslan Kuprieiev
deaa27dde2
gha: don't build packages when not needed
2020-09-24 18:44:10 +03:00