]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- bump minimum python version to 2.7
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 10 Mar 2017 19:28:49 +0000 (14:28 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 10 Mar 2017 19:28:49 +0000 (14:28 -0500)
- add placeholder 1.2 release documentation, update intro numbers

Change-Id: I9f9969cbb9e95c2f750a5c16798e92c35a5ef6cf

doc/build/changelog/index.rst
doc/build/changelog/migration_12.rst [new file with mode: 0644]
doc/build/core/tutorial.rst
doc/build/index.rst
doc/build/intro.rst
doc/build/orm/tutorial.rst
setup.py
tox.ini

index a9f294e8777275b721da1c6d1b808ffbe14b3522..787d4766abde9196bf241d7251798a7ea7bbd55a 100644 (file)
@@ -12,7 +12,7 @@ Current Migration Guide
 .. toctree::
    :titlesonly:
 
-   migration_11
+   migration_12
 
 Change logs
 -----------
@@ -20,6 +20,7 @@ Change logs
 .. toctree::
    :titlesonly:
 
+   changelog_12
    changelog_11
    changelog_10
    changelog_09
@@ -39,6 +40,7 @@ Older Migration Guides
 .. toctree::
    :titlesonly:
 
+   migration_11
    migration_10
    migration_09
    migration_08
diff --git a/doc/build/changelog/migration_12.rst b/doc/build/changelog/migration_12.rst
new file mode 100644 (file)
index 0000000..2046522
--- /dev/null
@@ -0,0 +1,57 @@
+==============================
+What's New in SQLAlchemy 1.2?
+==============================
+
+.. admonition:: About this Document
+
+    This document describes changes between SQLAlchemy version 1.1
+    and SQLAlchemy version 1.2.   1.2 is currently under development
+    and is unreleased.
+
+
+Introduction
+============
+
+This guide introduces what's new in SQLAlchemy version 1.2,
+and also documents changes which affect users migrating
+their applications from the 1.1 series of SQLAlchemy to 1.2.
+
+Please carefully review the sections on behavioral changes for
+potentially backwards-incompatible changes in behavior.
+
+Platform Support
+================
+
+Targeting Python 2.7 and Up
+---------------------------
+
+SQLAlchemy 1.2 now moves the minimum Python version to 2.7, no longer
+supporting 2.6.   New language features are expected to be merged
+into the 1.2 series that were not supported in Python 2.6.  For Python 3 support,
+SQLAlchemy is currnetly tested on versions 3.5 and 3.6.
+
+
+New Features and Improvements - ORM
+===================================
+
+New Features and Improvements - Core
+====================================
+
+Key Behavioral Changes - ORM
+============================
+
+Key Behavioral Changes - Core
+=============================
+
+Dialect Improvements and Changes - PostgreSQL
+=============================================
+
+Dialect Improvements and Changes - MySQL
+=============================================
+
+Dialect Improvements and Changes - SQLite
+=============================================
+
+Dialect Improvements and Changes - Oracle
+=============================================
+
index f42f54039bfcfd958456967cea33793abcf738f6..2e47aa324b7151005de7233e83f822c1adb4ee82 100644 (file)
@@ -50,13 +50,13 @@ Version Check
 =============
 
 
-A quick check to verify that we are on at least **version 1.1** of SQLAlchemy:
+A quick check to verify that we are on at least **version 1.2** of SQLAlchemy:
 
 .. sourcecode:: pycon+sql
 
     >>> import sqlalchemy
     >>> sqlalchemy.__version__  # doctest: +SKIP
-    1.1.0
+    1.2.0
 
 Connecting
 ==========
index 377ccfb4138d739118cd81cee02a208d497a33b6..1186e8eacf6ca36bb20e59baafee99e162bce610 100644 (file)
@@ -14,7 +14,7 @@ A high level view and getting set up.
 :doc:`Overview <intro>` |
 :ref:`Installation Guide <installation>` |
 :doc:`Frequently Asked Questions <faq/index>` |
-:doc:`Migration from 1.0 <changelog/migration_11>` |
+:doc:`Migration from 1.1 <changelog/migration_12>` |
 :doc:`Glossary <glossary>` |
 :doc:`Changelog catalog <changelog/index>`
 
index 1b8991f2885c3a23faa5019bdfd5eee818065821..a64a1a23c28a7dbc1ad9c574a6ee6f0bf41574b3 100644 (file)
@@ -70,12 +70,12 @@ Supported Platforms
 
 SQLAlchemy has been tested against the following platforms:
 
-* cPython since version 2.6, through the 2.xx series
+* cPython since version 2.7, through the 2.xx series
 * cPython version 3, throughout all 3.xx series
 * `Pypy <http://pypy.org/>`_ 2.1 or greater
 
-.. versionchanged:: 0.9
-   Python 2.6 is now the minimum Python version supported.
+.. versionchanged:: 1.2
+   Python 2.7 is now the minimum Python version supported.
 
 Platforms that don't currently have support include Jython and IronPython.
 Jython has been supported in the past and may be supported in future
@@ -104,7 +104,7 @@ downloaded from Pypi and installed in one step::
 This command will download the latest **released** version of SQLAlchemy from the `Python
 Cheese Shop <http://pypi.python.org/pypi/SQLAlchemy>`_ and install it to your system.
 
-In order to install the latest **prerelease** version, such as ``1.1.0b1``,
+In order to install the latest **prerelease** version, such as ``1.2.0b1``,
 pip requires that the ``--pre`` flag be used::
 
     pip install --pre SQLAlchemy
@@ -147,13 +147,6 @@ mechanism::
    setuptools.
 
 
-Installing on Python 3
-----------------------------------
-
-SQLAlchemy runs directly on Python 2 or Python 3, and can be installed in
-either environment without any adjustments or code conversion.
-
-
 
 Installing a Database API
 ----------------------------------
@@ -166,7 +159,7 @@ the available DBAPIs for each database, including external links.
 Checking the Installed SQLAlchemy Version
 ------------------------------------------
 
-This documentation covers SQLAlchemy version 1.1. If you're working on a
+This documentation covers SQLAlchemy version 1.2. If you're working on a
 system that already has SQLAlchemy installed, check the version from your
 Python prompt like this:
 
@@ -174,11 +167,11 @@ Python prompt like this:
 
      >>> import sqlalchemy
      >>> sqlalchemy.__version__ # doctest: +SKIP
-     1.1.0
+     1.2.0
 
 .. _migration:
 
-1.0 to 1.1 Migration
+1.1 to 1.2 Migration
 =====================
 
-Notes on what's changed from 1.0 to 1.1 is available here at :doc:`changelog/migration_11`.
+Notes on what's changed from 1.1 to 1.2 is available here at :doc:`changelog/migration_12`.
index 91c6202e1ff76ef7f641c9ed1c881fa665a8d570..afe097e859c68b88a1c5972051d67c0080b37e58 100644 (file)
@@ -40,11 +40,11 @@ following text represents the expected return value.
 Version Check
 =============
 
-A quick check to verify that we are on at least **version 1.1** of SQLAlchemy::
+A quick check to verify that we are on at least **version 1.2** of SQLAlchemy::
 
     >>> import sqlalchemy
     >>> sqlalchemy.__version__ # doctest:+SKIP
-    1.1.0
+    1.2.0
 
 Connecting
 ==========
index da45c09d6a525cd9d57cba31d1b315807d92d74e..0eb4b8f83bc882fe4a51b0f8209c60324e674f68 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -12,8 +12,8 @@ from setuptools import find_packages
 from setuptools.command.test import test as TestCommand
 
 cmdclass = {}
-if sys.version_info < (2, 6):
-    raise Exception("SQLAlchemy requires Python 2.6 or higher.")
+if sys.version_info < (2, 7):
+    raise Exception("SQLAlchemy requires Python 2.7 or higher.")
 
 cpython = platform.python_implementation() == 'CPython'
 
@@ -148,7 +148,6 @@ def run_setup(with_cext):
             "Programming Language :: Python",
             "Programming Language :: Python :: 3",
             "Programming Language :: Python :: Implementation :: CPython",
-            "Programming Language :: Python :: Implementation :: Jython",
             "Programming Language :: Python :: Implementation :: PyPy",
             "Topic :: Database :: Front-Ends",
             "Operating System :: OS Independent",
diff --git a/tox.ini b/tox.ini
index cdb454245ead5911932ee2089400c159b1df7f71..56aedbb38408b6d2e9e5fb76693ef6cbfb98947a 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 
 [tox]
-envlist = py{26,27,34,35,36}-{cext,nocext}
+envlist = py{27,34,35,36}-{cext,nocext}
 
 [testenv]
 # note that we have a .coveragerc file that points coverage specifically