Skip to content

Commit 6ec1e74

Browse files
author
Geert Vanderkelen
committed
Prepare release 2.0.0a1
1 parent a2a758e commit 6ec1e74

File tree

10 files changed

+94
-29
lines changed

10 files changed

+94
-29
lines changed

CHANGES.txt

Lines changed: 83 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,94 @@
1-
================================================
2-
MySQL Connector/Python - Release Notes & Changes
3-
================================================
1+
2+
MySQL Connector/Python v2.0
3+
===========================
44

55
MySQL Connector/Python
66
Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
77

8-
Full release notes:
8+
See the 'LICENSE.txt' file for additional license information.
9+
10+
Change history at the bottom of this file or online:
11+
912
http://dev.mysql.com/doc/relnotes/connector-python/en/
1013

1114

12-
v2.0.0a1
13-
========
15+
Requirements & Dependencies
16+
---------------------------
17+
18+
MySQL Connector/Python v2.0 works with:
19+
20+
- Python v2.6 and v2.7
21+
- Python v3.3 and later
22+
23+
Although earlier versions of MySQL Server might work, we recommend MySQL 5.6
24+
or later. Connector/Python will not work with MySQL 4.0 or earlier.
25+
26+
27+
Download & Installation
28+
-----------------------
29+
30+
MySQL Connector/Python comes packaged for a few platforms. You will find
31+
RPM, Apple OS X, Debian and Windows packages here:
32+
33+
http://dev.mysql.com/downloads/connector/python/
34+
35+
We also provide Platform Independent packages as ZIP or TAR archives. These,
36+
when unpacked, can be used to install the connector on any platform on
37+
which a supported version of Python is installed.
38+
39+
To install Connector/Python using the ZIP or TAR archive, using a Terminal:
40+
41+
shell> tar xzf mysql-connector-python-2.0.0.tar.gz
42+
shell> cd mysql-connector-python-2.0.0/
43+
shell> python setup.py install
44+
45+
For Windows, you can use a GUI tool to unarchive the ZIP distribution.
46+
47+
It is also possible to use the Python tool `pip` to install packages through
48+
the Python Package Index (PyPI).
1449

15-
Released on (not yet released)
50+
After installing `pip` (comes with Python 3.4):
1651

17-
* (features + bug fixes)
52+
shell> pip install mysql-connector-python
53+
54+
Note that newer `pip` versions require an extra option to allow external
55+
packages:
56+
57+
shell> pip install --allow-external mysql-connector-python \
58+
mysql-connector-python
59+
60+
61+
Documentation & Examples
62+
------------------------
63+
64+
Documentation for all Connector/Python versions can be found online here:
65+
66+
http://dev.mysql.com/doc/connector-python/en/index.html
67+
68+
The source distribution of Connector/Python also contains example scripts.
69+
They can be found in the examples/ directory.
70+
71+
72+
Bug reports & Discussion
73+
------------------------
74+
75+
Please use the following URL to report bugs:
76+
77+
http://bugs.mysql.com
78+
79+
We also have a forum where you can discuss Connector/Python:
80+
81+
http://forums.mysql.com/list.php?50
82+
83+
84+
v2.0.0a1
85+
--------
1886

87+
- BUG18843153: Fix Django to check connection on each request
88+
- WL7937: Allow LOAD DATA LOCAL INFILE by default
89+
- BUG18742429: Fix prepared statements returning lots of columns
90+
- BUG18814880: Fix stopping mysqld running unit tests on Windows
91+
- WL7292: Add cursors returning dict and namedtuple as rows
92+
- WL7462: Consolidate Python v2 and v3 code
93+
- WL7716: Move commercial files and distribution to CPYINT
1994

MANIFEST.in

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,9 @@ include version.py
77
include unittests.py
88
include MANIFEST.in
99

10-
include python2/__init__.py
11-
recursive-include python2/examples *.py
12-
recursive-include python2/mysql *.py
13-
14-
include python3/__init__.py
15-
recursive-include python3/mysql *.py
16-
recursive-include python3/examples *.py
17-
18-
include python23/__init__.py
19-
recursive-include python23/django *.py
20-
recursive-include python23/fabric *.py
21-
recursive-include python23/tests23 *.py
22-
10+
recursive-include examples *.py
11+
recursive-include lib *.py
12+
recursive-include support
2313
recursive-include tests *.py *.csv pylint*.rc *.pem
2414

2515
include docs/README_DOCS.txt

lib/mysql/connector/dbapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# MySQL Connector/Python - MySQL driver written in Python.
2-
# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
33

44
# MySQL Connector/Python is licensed under the terms of the GPLv2
55
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most

lib/mysql/connector/locales/eng/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# MySQL Connector/Python - MySQL driver written in Python.
2-
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
33

44
# MySQL Connector/Python is licensed under the terms of the GPLv2
55
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most

tests/test_errorcode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# MySQL Connector/Python - MySQL driver written in Python.
2-
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
33

44
# MySQL Connector/Python is licensed under the terms of the GPLv2
55
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most

tests/test_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# MySQL Connector/Python - MySQL driver written in Python.
2-
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
33

44
# MySQL Connector/Python is licensed under the terms of the GPLv2
55
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most

tests/test_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# MySQL Connector/Python - MySQL driver written in Python.
3-
# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
44

55
# MySQL Connector/Python is licensed under the terms of the GPLv2
66
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most

tests/test_mysql_datatypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# MySQL Connector/Python - MySQL driver written in Python.
2-
# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
33

44
# MySQL Connector/Python is licensed under the terms of the GPLv2
55
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most

tests/test_pep249.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# MySQL Connector/Python - MySQL driver written in Python.
2-
# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
33

44
# MySQL Connector/Python is licensed under the terms of the GPLv2
55
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most

tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# MySQL Connector/Python - MySQL driver written in Python.
2-
# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
33

44
# MySQL Connector/Python is licensed under the terms of the GPLv2
55
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most

0 commit comments

Comments
 (0)