Skip to content

Commit 4a7ffff

Browse files
authored
Merge pull request #66 from passren/0.7.3
0.7.3
2 parents 1de691c + 40b5a5e commit 4a7ffff

6 files changed

Lines changed: 26 additions & 21 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414

1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
- name: Set up Python
19-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@v6
2020
with:
2121
python-version: ${{ env.PYTHON_VERSION }}
2222

@@ -36,7 +36,7 @@ jobs:
3636
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
3737
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
3838
- name: Release
39-
uses: softprops/action-gh-release@v1
39+
uses: softprops/action-gh-release@v2
4040
with:
4141
files: dist/*
4242
env:

.github/workflows/run-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
2727
- name: Set up Python
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@v6
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Install dependencies
@@ -79,10 +79,10 @@ jobs:
7979
name: SonarCloud
8080
runs-on: ubuntu-latest
8181
steps:
82-
- uses: actions/checkout@v4
82+
- uses: actions/checkout@v5
8383
with:
8484
fetch-depth: 0
8585
- name: SonarCloud Scan
86-
uses: SonarSource/sonarqube-scan-action@v5.1.0
86+
uses: SonarSource/sonarqube-scan-action@v5.3.1
8787
env:
8888
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

pydynamodb/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
if TYPE_CHECKING:
77
from .connection import Connection
88

9-
__version__: str = "0.7.2"
9+
__version__: str = "0.7.3"
1010

1111
# Globals https://www.python.org/dev/peps/pep-0249/#globals
1212
apilevel: str = "2.0"
@@ -51,7 +51,7 @@ def __hash__(self):
5151

5252
def connect(*args, **kwargs) -> "Connection":
5353
from .connection import Connection
54-
from .superset_dynamodb.pydnamodb import SupersetCursor
54+
from .superset_dynamodb.pydynamodb import SupersetCursor
5555

5656
connector = kwargs.get("connector", None)
5757
if connector is not None and connector.lower() == "superset":
File renamed without changes.

setup.py

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323

2424
setup(
25-
name="PyDynamoDB",
25+
name="pydynamodb",
2626
version=VERSION,
2727
description="Python DB API 2.0 (PEP 249) client for Amazon DynamoDB",
2828
long_description=open(readme).read(),
@@ -31,17 +31,17 @@
3131
author="Peng Ren",
3232
author_email="passren9099@hotmail.com",
3333
license="MIT",
34-
python_requires=">=3.7",
34+
python_requires=">=3.8",
3535
classifiers=[
3636
"Development Status :: 4 - Beta",
3737
"Intended Audience :: Developers",
38-
'Programming Language :: Python',
3938
"Programming Language :: Python",
40-
'Programming Language :: Python :: 3.8',
41-
'Programming Language :: Python :: 3.9',
42-
'Programming Language :: Python :: 3.10',
43-
'Programming Language :: Python :: 3.11',
44-
'Programming Language :: Python :: 3.12',
39+
"Programming Language :: Python",
40+
"Programming Language :: Python :: 3.8",
41+
"Programming Language :: Python :: 3.9",
42+
"Programming Language :: Python :: 3.10",
43+
"Programming Language :: Python :: 3.11",
44+
"Programming Language :: Python :: 3.12",
4545
"Operating System :: OS Independent",
4646
"License :: OSI Approved :: MIT License",
4747
],
@@ -51,9 +51,14 @@
5151
"Source": "https://github.com/passren/PyDynamoDB",
5252
"Tracker": "https://github.com/passren/PyDynamoDB/issues",
5353
},
54-
packages=find_packages(include=[
55-
"pydynamodb", "pydynamodb.sql", "pydynamodb.sqlalchemy_dynamodb", "pydynamodb.superset_dynamodb"
56-
]),
54+
packages=find_packages(
55+
include=[
56+
"pydynamodb",
57+
"pydynamodb.sql",
58+
"pydynamodb.sqlalchemy_dynamodb",
59+
"pydynamodb.superset_dynamodb",
60+
]
61+
),
5762
include_package_data=True,
5863
install_requires=install_requires,
5964
extras_require=extras_require,

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def dict_cursor(request):
187187

188188
@pytest.fixture
189189
def superset_cursor(request):
190-
from pydynamodb.superset_dynamodb.pydnamodb import SupersetCursor
190+
from pydynamodb.superset_dynamodb.pydynamodb import SupersetCursor
191191

192192
yield from _cursor(SupersetCursor, request)
193193

0 commit comments

Comments
 (0)