Skip to content

Commit

Permalink
Pin dependencies (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
dudleyhunt86 committed Jul 28, 2022
1 parent 84e7987 commit 6ad5662
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 26 deletions.
10 changes: 10 additions & 0 deletions .github/dependbot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: monthly
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v1"
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: 3.7
- name: "Install dependencies"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v1"
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies"
Expand Down
2 changes: 1 addition & 1 deletion databases/backends/aiopg.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(
self._database_url = DatabaseURL(database_url)
self._options = options
self._dialect = self._get_dialect()
self._pool = None
self._pool: typing.Union[aiopg.Pool, None] = None

def _get_dialect(self) -> Dialect:
dialect = PGDialect_psycopg2(
Expand Down
41 changes: 20 additions & 21 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
-e .

# Async database drivers
asyncmy
aiomysql
aiopg
aiosqlite
asyncpg
asyncmy==0.2.5
aiomysql==0.1.1
aiopg==1.3.4
aiosqlite==0.17.0
asyncpg==0.26.0

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

# Testing
autoflake
black
codecov
isort
mypy
pytest
pytest-cov
starlette
requests
autoflake==1.4
black==22.6.0
isort==5.10.1
mypy==0.971
pytest==7.1.2
pytest-cov==3.0.0
starlette==0.20.4
requests==2.28.1

# Documentation
mkdocs
mkdocs-material
mkautodoc
mkdocs==1.3.1
mkdocs-material==8.3.9
mkautodoc==0.1.0

# Packaging
twine
wheel
twine==4.0.1
wheel==0.37.1

0 comments on commit 6ad5662

Please sign in to comment.