Skip to content

Commit

Permalink
Remove python 3.7 (#375)
Browse files Browse the repository at this point in the history
* 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] <[email protected]>

* fix black

* Remove python 3.7

* python version

* set string python version

* codecov token

* Update version.py

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pach <[email protected]>
  • Loading branch information
dependabot[bot] and pachCode authored Apr 1, 2024
1 parent b8b912a commit 167320c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2.3.1
uses: actions/setup-python@v5.1.0
with:
python-version: 3.8
- name: Install dependencies
Expand All @@ -20,11 +20,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2.3.1
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -35,19 +35,20 @@ jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v2.3.1
uses: actions/setup-python@v5.1.0
with:
python-version: 3.8
- name: Install dependencies
run: make install-test
- name: Generate coverage report
run: pytest --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2.1.0
uses: codecov/codecov-action@v4.1.1
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion cuenca/exc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class CuencaException(Exception):
...
"""Base Exception Class"""


class MalformedJwtToken(CuencaException):
Expand Down
2 changes: 1 addition & 1 deletion cuenca/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '0.15.11'
__version__ = '1.0.0'
CLIENT_VERSION = __version__
API_VERSION = '2020-03-19'
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
black==22.3.0
black==24.3.0
flake8==4.0.*
freezegun==1.1.*
isort==5.10.*
Expand Down
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,13 @@
packages=find_packages(),
include_package_data=True,
package_data=dict(cuenca=['py.typed']),
python_requires='>=3.6',
python_requires='>=3.8',
install_requires=[
'requests>=2.24,<28',
'dataclasses>=0.7;python_version<"3.7"',
'dataclasses>=0.7;python_version<"3.8"',
'cuenca-validations>= 0.11.3,<0.12.0',
],
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
Expand Down

0 comments on commit 167320c

Please sign in to comment.