Skip to content

Commit 5e09768

Browse files
committed
revert bad releases
1 parent bf8e46a commit 5e09768

File tree

12 files changed

+46
-451
lines changed

12 files changed

+46
-451
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## 3.9.1 ##
2-
* Relaxed requirements for pyjwt version from exactly 2.8.0 to >= 2.0
1+
## 3.8.1 ##
2+
yanked bad api release
33

44
## 3.9.0 ##
5-
* Supported nebius jwt credentials, added requirements for pyjwt==2.8.0
5+
yanked bad api release
66

77
## 3.8.1 ##
88
* Fixed to handle deadline on topic stream in async driver.

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ grpcio>=1.42.0
22
packaging
33
protobuf>=3.13.0,<5.0.0
44
aiohttp<4
5-
pyjwt>=2.0.0

test-requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ pytest-asyncio==0.21.0
3030
pytest-docker-compose==3.2.1
3131
python-dotenv==0.18.0
3232
PyYAML==5.3.1
33-
pyjwt==2.0.0
3433
requests==2.31.0
3534
texttable==1.6.4
3635
toml==0.10.2
@@ -47,5 +46,4 @@ pylint-protobuf
4746
cython
4847
freezegun==1.2.2
4948
pytest-cov
50-
yandexcloud
5149
-e .

tests/aio/test_credentials.py

Lines changed: 0 additions & 58 deletions
This file was deleted.

tests/auth/__init__.py

Whitespace-only changes.

tests/auth/test_credentials.py

Lines changed: 0 additions & 149 deletions
This file was deleted.

tests/table/test_tx.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ def test_tx_begin(driver_sync, database):
3838
tx.rollback()
3939

4040

41+
def test_credentials():
42+
credentials = ydb.iam.MetadataUrlCredentials()
43+
raised = False
44+
try:
45+
credentials.auth_metadata()
46+
except Exception:
47+
raised = True
48+
49+
assert raised
50+
51+
4152
def test_tx_snapshot_ro(driver_sync, database):
4253
session = driver_sync.table_client.session().create()
4354
description = (

0 commit comments

Comments
 (0)