From 37663707961db1092134500fe19638a5c08c52c2 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Fri, 23 Sep 2022 00:01:37 -0400 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f6fef3a..27531af 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ If you're seeing an **HTTP 400 error when uploading reports to S3**, make sure y ## Copyright -> Copyright 2014-2020 codecov +> Copyright 2014-2022 codecov ## License From a78512e4b00e67cfb3fccb530c9ca97a6c42eae5 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Mon, 17 Apr 2023 16:09:07 -0700 Subject: [PATCH 2/3] chore(release): bump to 3.1.13 --- codecov/__version__.py | 2 +- setup.py | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/codecov/__version__.py b/codecov/__version__.py index c79ac59..60d08bb 100644 --- a/codecov/__version__.py +++ b/codecov/__version__.py @@ -5,4 +5,4 @@ __license__ = "Apache 2.0" __title__ = "codecov" __url__ = "https://github.com/codecov/codecov-python" -__version__ = "2.1.12" +__version__ = "2.1.13" diff --git a/setup.py b/setup.py index b5639c7..1025c49 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,13 @@ from codecs import open import os from setuptools import setup +from setuptools.command.install import install + +class PostInstallCommand(install): + def run(self): + install.run(self) + print("\n**** The codecov package has been deprecated and will be removed by the team in the future. Please update to use the uploader (https://docs.codecov.com/docs/codecov-uploader) to prevent any breakages in workflow. ****\n") + classifiers = [ "Development Status :: 5 - Production/Stable", @@ -45,4 +52,7 @@ install_requires=["requests>=2.7.9", "coverage"], entry_points={"console_scripts": ["codecov=codecov:main"]}, python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", + cmdclass={ + 'install': PostInstallCommand, + }, ) From e553e93ed1404095acaf9a8bc3ef239675d3b88e Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Tue, 18 Apr 2023 14:38:11 -0700 Subject: [PATCH 3/3] chore(ci): bump python and update packages (#351) --- .github/workflows/build-test.yml | 6 ++--- .travis.yml | 40 -------------------------------- 2 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index b07bc8f..154d8a0 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -15,14 +15,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8, 3.9] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f69f56d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,40 +0,0 @@ -language: python -# cache: pip -notifications: - email: false -dist: xenial -sudo: false -python: - - 2.7 - - pypy - - 3.5 - - 3.6 - - 3.7 - - 3.8 - - 3.9-dev - - pypy3 -matrix: - include: - - python: 2.7 - dist: trusty - virtualenv: - system_site_packages: true - addons: - apt: - packages: - - python-requests - - python-coverage - - python-mock - - python: 3.8 - dist: xenial - script: make format - -install: - - pip install -r tests/requirements.txt - - python setup.py install -script: - - make reinstall - - make test - # - pytest tests/test.py --cov=codecov -after_success: - - codecov