Skip to content

Commit 6427be4

Browse files
authoredJul 28, 2022
Pin dependencies (encode#502)
1 parent c877098 commit 6427be4

File tree

5 files changed

+35
-26
lines changed

5 files changed

+35
-26
lines changed
 

‎.github/dependbot.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: monthly

‎.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
runs-on: "ubuntu-latest"
1313

1414
steps:
15-
- uses: "actions/checkout@v2"
16-
- uses: "actions/setup-python@v1"
15+
- uses: "actions/checkout@v3"
16+
- uses: "actions/setup-python@v4"
1717
with:
1818
python-version: 3.7
1919
- name: "Install dependencies"

‎.github/workflows/test-suite.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
4040

4141
steps:
42-
- uses: "actions/checkout@v2"
43-
- uses: "actions/setup-python@v1"
42+
- uses: "actions/checkout@v3"
43+
- uses: "actions/setup-python@v4"
4444
with:
4545
python-version: "${{ matrix.python-version }}"
4646
- name: "Install dependencies"

‎databases/backends/aiopg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(
3131
self._database_url = DatabaseURL(database_url)
3232
self._options = options
3333
self._dialect = self._get_dialect()
34-
self._pool = None
34+
self._pool: typing.Union[aiopg.Pool, None] = None
3535

3636
def _get_dialect(self) -> Dialect:
3737
dialect = PGDialect_psycopg2(

‎requirements.txt

+20-21
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
11
-e .
22

33
# Async database drivers
4-
asyncmy
5-
aiomysql
6-
aiopg
7-
aiosqlite
8-
asyncpg
4+
asyncmy==0.2.5
5+
aiomysql==0.1.1
6+
aiopg==1.3.4
7+
aiosqlite==0.17.0
8+
asyncpg==0.26.0
99

1010
# Sync database drivers for standard tooling around setup/teardown/migrations.
11-
psycopg2-binary
12-
pymysql
11+
psycopg2-binary==2.9.3
12+
pymysql==1.0.2
1313

1414
# Testing
15-
autoflake
16-
black
17-
codecov
18-
isort
19-
mypy
20-
pytest
21-
pytest-cov
22-
starlette
23-
requests
15+
autoflake==1.4
16+
black==22.6.0
17+
isort==5.10.1
18+
mypy==0.971
19+
pytest==7.1.2
20+
pytest-cov==3.0.0
21+
starlette==0.20.4
22+
requests==2.28.1
2423

2524
# Documentation
26-
mkdocs
27-
mkdocs-material
28-
mkautodoc
25+
mkdocs==1.3.1
26+
mkdocs-material==8.3.9
27+
mkautodoc==0.1.0
2928

3029
# Packaging
31-
twine
32-
wheel
30+
twine==4.0.1
31+
wheel==0.37.1

0 commit comments

Comments
 (0)
Please sign in to comment.