summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-12-10 13:55:57 -0500
committerChris McDonough <chrism@plope.com>2011-12-10 13:55:57 -0500
commit5c8251d91d00bcba9f8f66df892bac47dd73c719 (patch)
treeed6e213a674d3d4e138d63be91c2c00317b221eb
parent0115f3cee78c3b99e517b89ea288b4f6f3213a68 (diff)
parentd587b4b6974c2e4a9074f5bde42095227acfdd1c (diff)
downloadpyramid-5c8251d91d00bcba9f8f66df892bac47dd73c719.tar.gz
pyramid-5c8251d91d00bcba9f8f66df892bac47dd73c719.tar.bz2
pyramid-5c8251d91d00bcba9f8f66df892bac47dd73c719.zip
merge 1.3-branch back to master
-rw-r--r--CHANGES.txt4
-rw-r--r--TODO.txt1
-rw-r--r--docs/conf.py2
-rw-r--r--docs/narr/MyProject/myproject/templates/mytemplate.pt12
-rw-r--r--docs/whatsnew-1.3.rst16
-rw-r--r--pyramid/scaffolds/alchemy/+package+/templates/mytemplate.pt_tmpl14
-rw-r--r--pyramid/scaffolds/alchemy/README.txt_tmpl13
-rw-r--r--pyramid/scaffolds/starter/+package+/templates/mytemplate.pt12
-rw-r--r--pyramid/scaffolds/zodb/+package+/templates/mytemplate.pt12
-rw-r--r--pyramid/url.py8
10 files changed, 59 insertions, 35 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 4be846ece..9cdaac5be 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,5 @@
-Next release
-============
+1.3a1 (2011-12-09)
+==================
Features
--------
diff --git a/TODO.txt b/TODO.txt
index bdb258f04..b0d6c95bc 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -22,6 +22,7 @@ Must-Have
- Fix deployment recipes in cookbook (discourage proxying without changing
server).
+
Nice-to-Have
------------
diff --git a/docs/conf.py b/docs/conf.py
index b6986774b..9be5db325 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -161,7 +161,7 @@ html_theme_path = ['_themes']
html_theme = 'pyramid'
html_theme_options = dict(
github_url='https://github.com/Pylons/pyramid',
- in_progress='true'
+# in_progress='true'
)
# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
diff --git a/docs/narr/MyProject/myproject/templates/mytemplate.pt b/docs/narr/MyProject/myproject/templates/mytemplate.pt
index ab698123e..0bfac946e 100644
--- a/docs/narr/MyProject/myproject/templates/mytemplate.pt
+++ b/docs/narr/MyProject/myproject/templates/mytemplate.pt
@@ -44,22 +44,22 @@
<a href="http://pylonsproject.org">Pylons Website</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#narrative-documentation">Narrative Documentation</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#narrative-documentation">Narrative Documentation</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#api-documentation">API Documentation</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#reference-material">API Documentation</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#tutorials">Tutorials</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#tutorials">Tutorials</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#change-history">Change History</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#detailed-change-history">Change History</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#sample-applications">Sample Applications</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#sample-applications">Sample Applications</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#support-and-development">Support and Development</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#support-and-development">Support and Development</a>
</li>
<li>
<a href="irc://irc.freenode.net#pyramid">IRC Channel</a>
diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst
index 9c6cc5804..d19935c97 100644
--- a/docs/whatsnew-1.3.rst
+++ b/docs/whatsnew-1.3.rst
@@ -17,14 +17,24 @@ Python 3 Compatibility
Pyramid is now Python 3 compatible. Python 3.2 or better is required.
+.. warning::
+
+ As of this writing (the release of Pyramid 1.3a1), if you attempt to
+ install a Pyramid project that used ``alchemy`` scaffold via ``setup.py
+ develop`` on Python 3.2, it may quit with an installation error while
+ trying to install ``Pygments``. If this happens, please rerun the
+ ``setup.py develop`` command again and it will complete. We're just as
+ clueless as you are as to why this happens at this point, but hopefully
+ we'll figure it out before Pyramid 1.3 leaves the alpha/beta phase.
+
This feature required us to make some compromises.
Pyramid no longer runs on Python 2.5. This includes the most recent release
of Jython and the Python 2.5 version of Google App Engine. We could not
easily "straddle" Python 2 and 3 versions and support Python 2 versions older
than Python 2.6. You will need Python 2.6 or better to run this version of
-Pyramid. If you need to use Pyramid on Python 2.5, you should use the most
-recent 1.2.X release of Pyramid there.
+Pyramid. If you need to use Python 2.5, you should use the most recent 1.2.X
+release of Pyramid.
Though many Pyramid add-ons have releases which are already Python 3
compatible (in particular ``pyramid_debugtoolbar``, ``pyramid_jinja2``,
@@ -105,7 +115,7 @@ A configuration introspection system was added; see
:ref:`using_introspection` and :ref:`introspection` for more information on
using the introspection system as a developer.
-The latest release of the pyramid debug toolbar (0.9.6) provides an
+The latest release of the pyramid debug toolbar (0.9.7+) provides an
"Introspection" panel that exposes introspection information to a Pyramid
application developer.
diff --git a/pyramid/scaffolds/alchemy/+package+/templates/mytemplate.pt_tmpl b/pyramid/scaffolds/alchemy/+package+/templates/mytemplate.pt_tmpl
index 3cd9c66a4..ac0140789 100644
--- a/pyramid/scaffolds/alchemy/+package+/templates/mytemplate.pt_tmpl
+++ b/pyramid/scaffolds/alchemy/+package+/templates/mytemplate.pt_tmpl
@@ -32,7 +32,7 @@
<div class="bottom">
<div id="left" class="align-right">
<h2>Search documentation</h2>
- <form method="get" action="http://docs.pylonsproject.org/projects/pyramid/current/search.html">
+ <form method="get" action="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/search.html">
<input type="text" id="q" name="q" value="" />
<input type="submit" id="x" value="Go" />
</form>
@@ -44,22 +44,22 @@
<a href="http://pylonsproject.org">Pylons Website</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#narrative-documentation">Narrative Documentation</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#narrative-documentation">Narrative Documentation</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#api-documentation">API Documentation</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#reference-material">API Documentation</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#tutorials">Tutorials</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#tutorials">Tutorials</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#change-history">Change History</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#detailed-change-history">Change History</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#sample-applications">Sample Applications</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#sample-applications">Sample Applications</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#support-and-development">Support and Development</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#support-and-development">Support and Development</a>
</li>
<li>
<a href="irc://irc.freenode.net#pyramid">IRC Channel</a>
diff --git a/pyramid/scaffolds/alchemy/README.txt_tmpl b/pyramid/scaffolds/alchemy/README.txt_tmpl
index 40f98d14a..efea71c5c 100644
--- a/pyramid/scaffolds/alchemy/README.txt_tmpl
+++ b/pyramid/scaffolds/alchemy/README.txt_tmpl
@@ -1 +1,14 @@
{{project}} README
+==================
+
+Getting Started
+---------------
+
+- cd <directory containing this file>
+
+- $venv/bin/python setup.py develop
+
+- $venv/bin/populate_{{project}} development.ini
+
+- $venv/bin/pserve development.ini
+
diff --git a/pyramid/scaffolds/starter/+package+/templates/mytemplate.pt b/pyramid/scaffolds/starter/+package+/templates/mytemplate.pt
index ab698123e..0bfac946e 100644
--- a/pyramid/scaffolds/starter/+package+/templates/mytemplate.pt
+++ b/pyramid/scaffolds/starter/+package+/templates/mytemplate.pt
@@ -44,22 +44,22 @@
<a href="http://pylonsproject.org">Pylons Website</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#narrative-documentation">Narrative Documentation</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#narrative-documentation">Narrative Documentation</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#api-documentation">API Documentation</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#reference-material">API Documentation</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#tutorials">Tutorials</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#tutorials">Tutorials</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#change-history">Change History</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#detailed-change-history">Change History</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#sample-applications">Sample Applications</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#sample-applications">Sample Applications</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#support-and-development">Support and Development</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#support-and-development">Support and Development</a>
</li>
<li>
<a href="irc://irc.freenode.net#pyramid">IRC Channel</a>
diff --git a/pyramid/scaffolds/zodb/+package+/templates/mytemplate.pt b/pyramid/scaffolds/zodb/+package+/templates/mytemplate.pt
index ab698123e..0bfac946e 100644
--- a/pyramid/scaffolds/zodb/+package+/templates/mytemplate.pt
+++ b/pyramid/scaffolds/zodb/+package+/templates/mytemplate.pt
@@ -44,22 +44,22 @@
<a href="http://pylonsproject.org">Pylons Website</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#narrative-documentation">Narrative Documentation</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#narrative-documentation">Narrative Documentation</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#api-documentation">API Documentation</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#reference-material">API Documentation</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#tutorials">Tutorials</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#tutorials">Tutorials</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#change-history">Change History</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#detailed-change-history">Change History</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#sample-applications">Sample Applications</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#sample-applications">Sample Applications</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/current/#support-and-development">Support and Development</a>
+ <a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/#support-and-development">Support and Development</a>
</li>
<li>
<a href="irc://irc.freenode.net#pyramid">IRC Channel</a>
diff --git a/pyramid/url.py b/pyramid/url.py
index 3f934b364..afb602d3a 100644
--- a/pyramid/url.py
+++ b/pyramid/url.py
@@ -191,10 +191,10 @@ class URLMethodsMixin(object):
Calling ``request.route_path('route')`` is the same as calling
``request.route_url('route', _app_url=request.script_name)``.
- :meth:`pyramid.request.Request.route_path` is, in fact, implemented
- in terms of `:meth:`pyramid.request.Request.route_url` in just this
- way. As a result, any ``_app_url`` passed within the ``**kw`` values
- to ``route_path`` will be ignored.
+ :meth:`pyramid.request.Request.route_path` is, in fact,
+ implemented in terms of :meth:`pyramid.request.Request.route_url`
+ in just this way. As a result, any ``_app_url`` passed within the
+ ``**kw`` values to ``route_path`` will be ignored.
"""
kw['_app_url'] = self.script_name
return self.route_url(route_name, *elements, **kw)