Skip to content

Commit 1a6adc5

Browse files
committed
Migrated: to yhttp >= 7
1 parent 7a02c43 commit 1a6adc5

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Create distributions
2323
run: make dist
2424
- name: Publish a Python distribution to PyPI
25-
uses: pypa/gh-action-pypi-publish@release/v1.9
25+
uses: pypa/gh-action-pypi-publish@release/v1
2626
with:
2727
user: __token__
2828
password: ${{ secrets.PYPI_TOKEN }}

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919

2020
dependencies = [
21-
'yhttp >= 6.2, < 7',
22-
'yhttp-dbmanager >= 5.0.1, < 6',
21+
'yhttp >= 7.0.1, < 8',
22+
'yhttp-dbmanager >= 6.0.2, < 7',
2323
'sqlalchemy >= 2.0.32',
2424
]
2525

tests/conftest.py

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

1010
@pytest.fixture
1111
def app(freshdb):
12-
app = Application()
12+
app = Application('0.1.0', 'foo')
1313
app.settings.merge(f'''
1414
db:
1515
url: {freshdb}

tests/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Foo(BaseModel):
4141
_pass = os.environ.get('YHTTP_DB_DEFAULT_PASS', 'postgres' if CICD else '')
4242

4343

44-
app = Application()
44+
app = Application('0.1.0', 'foo')
4545
app.settings.merge(f'''
4646
db:
4747
url: postgresql://{_user}:{_pass}@{_host}/foo

yhttp/ext/sqlalchemy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .install import install
22

33

4-
__version__ = '3.0.0'
4+
__version__ = '4.0.0'

0 commit comments

Comments
 (0)