Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit ddae2a4

Browse files
Merge pull request #119 from laughingman7743/3.0.0
Drop support for Python2.7 and Python3.5
2 parents 70f4b7a + 10656b6 commit ddae2a4

25 files changed

Lines changed: 1213 additions & 974 deletions

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
max-parallel: 4
1616
matrix:
17-
python-version: [2.7, 3.5, 3.6, 3.7]
17+
python-version: [3.6, 3.7, 3.8, 3.9]
1818

1919
steps:
2020
- uses: actions/checkout@v2

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY: fmt
22
fmt:
3-
poetry run isort -rc .
3+
poetry run isort .
44
poetry run black .
55

66
.PHONY: chk
77
chk:
8-
poetry run isort -c -rc .
8+
poetry run isort -c .
99
poetry run black --check --diff .

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Requirements
2929

3030
* Python
3131

32-
- CPython 2,7, 3.5, 3.6, 3.7
32+
- CPython 3.6, 3.7, 3.8, 3.9
3333

3434
* Java
3535

@@ -58,7 +58,7 @@ Extra packages:
5858
+---------------+------------------------------------------+-----------------+
5959
| Package | Install command | Version |
6060
+===============+==========================================+=================+
61-
| Pandas | ``pip install PyAthenaJDBC[Pandas]`` | >=0.19.0 |
61+
| Pandas | ``pip install PyAthenaJDBC[Pandas]`` | >=1.0.0 |
6262
+---------------+------------------------------------------+-----------------+
6363
| SQLAlchemy | ``pip install PyAthenaJDBC[SQLAlchemy]`` | >=1.0.0, <2.0.0 |
6464
+---------------+------------------------------------------+-----------------+
@@ -210,7 +210,7 @@ Supported SQLAlchemy is 1.0.0 or higher and less than 2.0.0.
210210
.. code:: python
211211
212212
import contextlib
213-
from urllib.parse import quote_plus # PY2: from urllib import quote_plus
213+
from urllib.parse import quote_plus
214214
from sqlalchemy.engine import create_engine
215215
from sqlalchemy.sql.expression import select
216216
from sqlalchemy.sql.functions import func
@@ -377,7 +377,7 @@ Run test multiple Python versions
377377
$ pip install poetry
378378
$ poetry install -v
379379
$ poetry run scripts/test_data/upload_test_data.sh
380-
$ pyenv local 3.7.2 3.6.8 3.5.7 2.7.16
380+
$ pyenv local 3.9.0 3.8.6 3.7.9 3.6.12
381381
$ poetry run tox
382382
$ poetry run scripts/test_data/delete_test_data.sh
383383

jdbc/release-notes.txt

Lines changed: 36 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,31 @@ Simba Athena JDBC Driver with SQL Connector Release Notes
33
==============================================================================
44

55
The release notes provide details of enhancements, features, known issues, and
6-
workflow changes in Simba Athena JDBC Driver 2.0.14, as well as the version
6+
workflow changes in Simba Athena JDBC Driver 2.0.15, as well as the version
77
history.
88

99

10-
2.0.14 =======================================================================
10+
2.0.15 =======================================================================
1111

12-
Released 2020-09-25
12+
Released 2020-10-23
1313

1414
Enhancements & New Features
1515

16-
* [AJ-308] Retrieving SAML Credentials from Lake Formation service
17-
18-
The driver can now retrieve SAML credentials from Lake Formation service.
19-
To do this, set the new LakeFormationEnabled property to true. For more
20-
information, see the Installation and Configuration Guide.
21-
16+
* [AJ-239] Use proxy with IdP authentication
2217

23-
Resolved Issues
24-
The following issue has been resolved in Simba Athena JDBC Driver
25-
2.0.14.
18+
The driver now supports the use of a proxy server with IdP authentication.
19+
To do this, set the new UseProxyForIdP configuration option to True. For
20+
more information, see the Installation and Configuration Guide.
21+
22+
* [AJ-313] Updated authentication support
2623

27-
* [AJ-304] The driver detects an XML External Entity (XXE) security threat.
24+
The driver now supports using the credential_process setting in the AWS
25+
configuration file for authentication.
26+
27+
* [AJ-328] Updated metadata support
28+
29+
The driver now retrieves only the required table and schema metadata from
30+
the datasource when the exact names of the table and database are provided.
2831

2932

3033
Workflow Changes =============================================================
@@ -69,6 +72,26 @@ The following changes may disrupt established workflows for the driver.
6972

7073
Version History ==============================================================
7174

75+
2.0.14 -----------------------------------------------------------------------
76+
77+
Released 2020-09-25
78+
79+
Enhancements & New Features
80+
81+
* [AJ-308] Retrieving SAML Credentials from Lake Formation service
82+
83+
The driver can now retrieve SAML credentials from Lake Formation service.
84+
To do this, set the new LakeFormationEnabled property to true. For more
85+
information, see the Installation and Configuration Guide.
86+
87+
88+
Resolved Issues
89+
The following issue has been resolved in Simba Athena JDBC Driver
90+
2.0.14.
91+
92+
* [AJ-304] The driver detects an XML External Entity (XXE) security threat.
93+
94+
7295
2.0.13 -----------------------------------------------------------------------
7396

7497
Released 2020-09-02

0 commit comments

Comments
 (0)