Skip to content

Commit 167320c

Browse files
Remove python 3.7 (#375)
* Bump black from 22.3.0 to 24.3.0 Bumps [black](https://github.com/psf/black) from 22.3.0 to 24.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@22.3.0...24.3.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * fix black * Remove python 3.7 * python version * set string python version * codecov token * Update version.py --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pach <arturo@cuenca.com>
1 parent b8b912a commit 167320c

5 files changed

Lines changed: 14 additions & 16 deletions

File tree

.github/workflows/test.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2.4.0
9+
- uses: actions/checkout@v4
1010
- name: Set up Python
11-
uses: actions/setup-python@v2.3.1
11+
uses: actions/setup-python@v5.1.0
1212
with:
1313
python-version: 3.8
1414
- name: Install dependencies
@@ -20,11 +20,11 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python-version: [3.7, 3.8, 3.9]
23+
python-version: ['3.8', '3.9', '3.10']
2424
steps:
25-
- uses: actions/checkout@v2.4.0
25+
- uses: actions/checkout@v4
2626
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v2.3.1
27+
uses: actions/setup-python@v5.1.0
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Install dependencies
@@ -35,19 +35,20 @@ jobs:
3535
coverage:
3636
runs-on: ubuntu-latest
3737
steps:
38-
- uses: actions/checkout@v2.4.0
38+
- uses: actions/checkout@v4
3939
- name: Setup Python
40-
uses: actions/setup-python@v2.3.1
40+
uses: actions/setup-python@v5.1.0
4141
with:
4242
python-version: 3.8
4343
- name: Install dependencies
4444
run: make install-test
4545
- name: Generate coverage report
4646
run: pytest --cov-report=xml
4747
- name: Upload coverage to Codecov
48-
uses: codecov/codecov-action@v2.1.0
48+
uses: codecov/codecov-action@v4.1.1
4949
with:
5050
file: ./coverage.xml
5151
flags: unittests
5252
name: codecov-umbrella
53+
token: ${{ secrets.CODECOV_TOKEN }}
5354
fail_ci_if_error: true

cuenca/exc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
class CuencaException(Exception):
7-
...
7+
"""Base Exception Class"""
88

99

1010
class MalformedJwtToken(CuencaException):

cuenca/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = '0.15.11'
1+
__version__ = '1.0.0'
22
CLIENT_VERSION = __version__
33
API_VERSION = '2020-03-19'

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
black==22.3.0
1+
black==24.3.0
22
flake8==4.0.*
33
freezegun==1.1.*
44
isort==5.10.*

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,13 @@
2121
packages=find_packages(),
2222
include_package_data=True,
2323
package_data=dict(cuenca=['py.typed']),
24-
python_requires='>=3.6',
24+
python_requires='>=3.8',
2525
install_requires=[
2626
'requests>=2.24,<28',
27-
'dataclasses>=0.7;python_version<"3.7"',
27+
'dataclasses>=0.7;python_version<"3.8"',
2828
'cuenca-validations>= 0.11.3,<0.12.0',
2929
],
3030
classifiers=[
31-
'Programming Language :: Python :: 3',
32-
'Programming Language :: Python :: 3.6',
33-
'Programming Language :: Python :: 3.7',
3431
'Programming Language :: Python :: 3.8',
3532
'License :: OSI Approved :: MIT License',
3633
'Operating System :: OS Independent',

0 commit comments

Comments
 (0)