Skip to content

Commit 49057db

Browse files
authored
Merge pull request #334 from Kaggle/Release-v1.5.11
Update files for release of api version 1.5.12
2 parents 89eb72d + 1ad0b27 commit 49057db

File tree

3 files changed

+43
-35
lines changed

3 files changed

+43
-35
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Changelog
22
====
33

4+
### 1.5.12
5+
Release date: 03/12/21
6+
* No changes
7+
8+
### 1.5.11
9+
Release date: 03/12/21
10+
* Add support for non-ASCII characters for kernels.
11+
412
### 1.5.10
513
Release date: 11/30/20
614
* Remove dependency on slugify.

kaggle/api/kaggle_api_extended.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
#!/usr/bin/python
2-
#
3-
# Copyright 2020 Kaggle Inc
4-
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
16-
1+
#!/usr/bin/python
2+
#
3+
# Copyright 2020 Kaggle Inc
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
1717
#!/usr/bin/python
1818
#
1919
# Copyright 2019 Kaggle Inc
@@ -82,7 +82,7 @@
8282

8383

8484
class KaggleApi(KaggleApi):
85-
__version__ = '1.5.10'
85+
__version__ = '1.5.12'
8686

8787
CONFIG_NAME_PROXY = 'proxy'
8888
CONFIG_NAME_COMPETITION = 'competition'
@@ -2041,7 +2041,7 @@ def kernels_pull(self, kernel, path, metadata=False, quiet=True):
20412041
script_path = effective_path
20422042
file_name = os.path.basename(effective_path)
20432043

2044-
with open(script_path, 'w') as f:
2044+
with open(script_path, 'w', encoding="utf-8") as f:
20452045
f.write(blob['source'])
20462046

20472047
if metadata:

setup.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
#!/usr/bin/python
2-
#
3-
# Copyright 2020 Kaggle Inc
4-
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
16-
1+
#!/usr/bin/python
2+
#
3+
# Copyright 2020 Kaggle Inc
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
1717
# coding=utf-8
1818
from setuptools import setup, find_packages
1919

2020
setup(
2121
name='kaggle',
22-
version='1.5.10',
22+
version='1.5.12',
2323
description='Kaggle API',
2424
long_description=
2525
('Official API for https://www.kaggle.com, accessible using a command line '

0 commit comments

Comments
 (0)