Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cruft: update template #76

Merged
merged 1 commit into from
Jul 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/iterative/py-template",
"commit": "f8dfd9b9f92abf2c1061d34399d7215df09184ca",
"commit": "a697f2f5da9723747e37176cd44a44a6de6de641",
"context": {
"cookiecutter": {
"project_name": "dvc-task",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
- run: pip install '.[docs]'
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Publish docs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
with:
fetch-depth: 0

- name: Set up Python 3.7
uses: actions/setup-python@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.10'

- name: Upgrade pip and nox
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-latest, macos-latest]
pyv: ['3.7', '3.8', '3.9', '3.10']
pyv: ['3.8', '3.9', '3.10']
include:
- os: ubuntu-latest
pyv: 'pypy-3.8'
Expand All @@ -34,7 +34,7 @@ jobs:
fetch-depth: 0

- name: Set up Python ${{ matrix.pyv }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.pyv }}

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Request features on the `Issue Tracker`_.
How to set up your development environment
------------------------------------------

You need Python 3.7+ and the following tools:
You need Python 3.8+ and the following tools:

- Nox_

Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
locations = "src", "tests"


@nox.session(python=["3.7", "3.8", "3.9", "3.10", "pypy-3.8", "pypy-3.9"])
@nox.session(python=["3.8", "3.9", "3.10", "pypy-3.8", "pypy-3.9"])
def tests(session: nox.Session) -> None:
session.install(".[tests]")
session.run(
Expand Down
11 changes: 5 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ authors = Iterative
maintainer_email = support@dvc.org
classifiers =
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Development Status :: 1 - Planning

[options]
python_requires = >=3.7
python_requires = >=3.8
zip_safe = False
package_dir=
=src
Expand All @@ -34,18 +33,18 @@ install_requires=
docs =
mkdocs==1.3.0
mkdocs-gen-files==0.3.4
mkdocs-material==8.2.15
mkdocs-material==8.3.7
mkdocs-section-index==0.3.4
mkdocstrings-python==0.7.0
mkdocstrings-python==0.7.1
tests =
flaky==3.7.0
kombu>=5.3.0a1
pytest==7.1.2
pytest-sugar==0.9.4
pytest-cov==3.0.0
pytest-mock==3.7.0
pylint==2.13.9
mypy==0.950
pylint==2.14.3
mypy==0.961
pytest-test-utils>=0.0.6
pytest-celery
celery-types>=0.11.0
Expand Down