summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2016-12-09 10:47:39 -0800
committerJeff Forcier <jeff@bitprophet.org>2016-12-09 10:47:39 -0800
commit753b693dc2678d6648cc281ec7d981045af78a14 (patch)
treeb433d9eb352811a95078391bff17c03ecad4fe26
parent8039c736e4a4b2505cd1760c516c24fe8abffbce (diff)
parenta3c35766b21e9e2a46213116d478c17c757d1534 (diff)
Merge branch '2.0'
-rw-r--r--paramiko/_version.py2
-rw-r--r--sites/www/changelog.rst3
-rw-r--r--tasks.py25
3 files changed, 26 insertions, 4 deletions
diff --git a/paramiko/_version.py b/paramiko/_version.py
index c07c0b07..14c2be3a 100644
--- a/paramiko/_version.py
+++ b/paramiko/_version.py
@@ -1,2 +1,2 @@
-__version_info__ = (2, 0, 2)
+__version_info__ = (2, 0, 3)
__version__ = '.'.join(map(str, __version_info__))
diff --git a/sites/www/changelog.rst b/sites/www/changelog.rst
index 7b2a8ffd..36460eff 100644
--- a/sites/www/changelog.rst
+++ b/sites/www/changelog.rst
@@ -2,6 +2,9 @@
Changelog
=========
+* :release:`2.0.3 <2016-12-09>`
+* :release:`1.18.0 <2016-12-09>`
+* :release:`1.17.3 <2016-12-09>`
* :bug:`802 (1.17+)` (via :issue:`804`) Update our vendored Windows API module
to address errors of the form ``AttributeError: 'module' object has no
attribute 'c_ssize_t'``. Credit to Jason R. Coombs.
diff --git a/tasks.py b/tasks.py
index 90ee758c..61319aa9 100644
--- a/tasks.py
+++ b/tasks.py
@@ -4,7 +4,7 @@ from shutil import rmtree, copytree
from invoke import Collection, task
from invocations.docs import docs, www, sites
-from invocations.packaging import publish
+from invocations.packaging.release import ns as release_coll, publish
# Until we move to spec-based testing
@@ -24,10 +24,12 @@ def coverage(ctx):
# Until we stop bundling docs w/ releases. Need to discover use cases first.
+# TODO: would be nice to tie this into our own version of build() too, but
+# still have publish() use that build()...really need to try out classes!
@task
def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False):
"""
- Wraps invocations.packaging.release to add baked-in docs folder.
+ Wraps invocations.packaging.publish to add baked-in docs folder.
"""
# Build docs first. Use terribad workaround pending invoke #146
ctx.run("inv docs")
@@ -41,5 +43,22 @@ def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False):
# Remind
print("\n\nDon't forget to update RTD's versions page for new minor releases!")
+# TODO: "replace one task with another" needs a better public API, this is
+# using unpublished internals & skips all the stuff add_task() does re:
+# aliasing, defaults etc.
+release_coll.tasks['publish'] = release
-ns = Collection(test, coverage, release, docs, www, sites)
+ns = Collection(test, coverage, release_coll, docs, www, sites)
+ns.configure({
+ 'packaging': {
+ # NOTE: many of these are also set in kwarg defaults above; but having
+ # them here too means once we get rid of our custom release(), the
+ # behavior stays.
+ 'sign': True,
+ 'wheel': True,
+ 'changelog_file': join(
+ www.configuration()['sphinx']['source'],
+ 'changelog.rst',
+ ),
+ },
+})