summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2019-11-22 17:04:54 -0500
committerEli Collins <elic@assurancetechnologies.com>2019-11-22 17:04:54 -0500
commit482dba920f91c1e7f3906930a56126aec42caa7c (patch)
tree806c3d7b4dc65d1229ab376b6b0488438fd69d4b /docs
parentfc81bf7969129891c36496b5e2392c290b0f9b3c (diff)
parentc7c4ca4ece10ac0e1090bfa6a3bc41baabcf5ce7 (diff)
downloadpasslib-482dba920f91c1e7f3906930a56126aec42caa7c.tar.gz
Merge from stable
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py12
-rw-r--r--docs/history/1.7.rst28
-rw-r--r--docs/install.rst25
-rw-r--r--docs/lib/passlib.hash.bcrypt.rst12
-rw-r--r--docs/lib/passlib.pwd.rst4
-rw-r--r--docs/requirements.txt5
6 files changed, 67 insertions, 19 deletions
diff --git a/docs/conf.py b/docs/conf.py
index ab34062..7b61d34 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -51,7 +51,7 @@ import cloud_sptheme as csp
#=============================================================================
# If your documentation needs a minimal Sphinx version, state it here.
-needs_sphinx = '1.4'
+needs_sphinx = '1.6'
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
@@ -82,6 +82,9 @@ extensions = [
'cloud_sptheme.ext.autoattribute_search_bases',
'cloud_sptheme.ext.docfield_markup',
'cloud_sptheme.ext.escaped_samp_literals',
+
+ # silence "footnote not referenced" warning -- should maybe redo these in docs :)
+ 'cloud_sptheme.ext.allow_unreferenced_footnotes',
]
# Add any paths that contain templates here, relative to this directory.
@@ -159,6 +162,11 @@ modindex_common_prefix = ["passlib."]
# appended to all pages
rst_epilog = "\n.. |updated| replace:: %s\n" % updated
+# Intersphinx
+intersphinx_mapping = {
+ 'python': ('https://docs.python.org/3', None),
+}
+
#=============================================================================
# Options for all output
#=============================================================================
@@ -205,7 +213,7 @@ if csp.is_cloud_theme(html_theme):
)
# Add any paths that contain custom themes here, relative to this directory.
-html_theme_path = [csp.get_theme_dir()]
+# html_theme_path = []
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
diff --git a/docs/history/1.7.rst b/docs/history/1.7.rst
index c45c7f0..5a5cf12 100644
--- a/docs/history/1.7.rst
+++ b/docs/history/1.7.rst
@@ -2,8 +2,8 @@
Passlib 1.7
===========
-**1.7.2** (NOT YET RELEASED)
-============================
+**1.7.2** (2019-11-22)
+======================
This release rolls up assorted bug & compatibility fixes since 1.7.1.
@@ -44,6 +44,26 @@ Bugfixes
* **unittests**: ``crypt()`` unittests now account for linux systems running libxcrypt
(such as recent Fedora releases)
+Deprecations
+------------
+
+.. rst-class:: float-center
+
+.. warning::
+
+ Due to lack of ``pip`` and ``venv`` support, Passlib is no longer fully tested on Python
+ 2.6 & 3.3. There are no known issues, and bugfixes against these versions will still be
+ accepted for the Passlib 1.7.x series.
+ However, **Passlib 1.8 will drop support for Python 2.6 & 3.3; and Passlib 2.0 will drop
+ support for Python 2.x entirely.**
+
+* Support for Python 2.6 & 3.3 is deprecated; and will be dropped in Passlib 1.8.
+
+* .. py:currentmodule:: passlib.hash
+
+ :class:`bcrypt`: ``py-bcrypt`` and ``bcryptor`` backends are deprecated, and support
+ will be removed in Passlib 1.8. Please switch to the ``bcrypt`` backend.
+
Other Changes
-------------
@@ -54,7 +74,9 @@ Other Changes
:class:`argon2`: Now throws helpful error if "argon2" package is actually an incompatible
or supported version of argon2_cffi (:issue:`99`).
-* **documentation**: Various updates & corrections.
+* **documentation**: Various updates & corrections.
+ building the documentation now requires Sphinx 1.6 or newer.
+
**1.7.1** (2017-1-30)
=====================
diff --git a/docs/install.rst b/docs/install.rst
index 00cab65..43d25fc 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -9,12 +9,19 @@ Supported Platforms
Passlib requires Python 2 (>= 2.6) or Python 3 (>= 3.3).
It is known to work with the following Python implementations:
+.. rst-class:: float-right
+
+.. warning::
+
+ * Support for Python 2.6 and 3.3 will be dropped in Passlib 1.8
+
+ * Support for Python 2.x will be dropped in Passlib 2.0
+
* CPython 2 -- v2.6 or newer.
* CPython 3 -- v3.3 or newer.
* PyPy -- v2.0 or newer.
* PyPy3 -- v5.3 or newer.
* Jython -- v2.7 or newer.
-* Pyston -- v0.5.1 or newer.
Passlib should work with all operating systems and environments,
as it contains builtin fallbacks for almost all OS-dependant features.
@@ -33,6 +40,13 @@ Optional Libraries
`py-bcrypt <https://pypi.python.org/pypi/py-bcrypt>`_, or
`bcryptor <https://bitbucket.org/ares/bcryptor/overview>`_
+ .. rst-class:: float-right
+
+ .. warning::
+
+ Support for ``py-bcrypt`` and ``bcryptor`` will be dropped in Passlib 1.8,
+ as these libraries are unmaintained.
+
If any of these packages are installed, they will be used to provide
support for the BCrypt hash algorithm.
This is required if you want to handle BCrypt hashes,
@@ -138,9 +152,8 @@ online at `<https://passlib.readthedocs.io>`_.
If you wish to generate your own copy of the documentation,
you will need to:
-1. Install `Sphinx <http://sphinx.pocoo.org/>`_ (1.4 or newer)
-2. Install the `Cloud Sphinx Theme <http://packages.python.org/cloud_sptheme>`_ (1.9.2 or newer).
-3. Download the Passlib source
-4. From the Passlib source directory, run :samp:`python setup.py build_sphinx`.
-5. Once Sphinx completes its run, point a web browser to the file at :samp:`{SOURCE}/build/sphinx/html/index.html`
+1. Download the Passlib source, extract it, and ``cd`` into the source directory.
+2. Install all the dependencies required via ``pip install -e .[build_docs]``.
+3. Run :samp:`python setup.py build_sphinx`.
+4. Once Sphinx completes its run, point a web browser to the file at :samp:`{SOURCE}/build/sphinx/html/index.html`
to access the Passlib documentation in html format.
diff --git a/docs/lib/passlib.hash.bcrypt.rst b/docs/lib/passlib.hash.bcrypt.rst
index e116983..a8c4625 100644
--- a/docs/lib/passlib.hash.bcrypt.rst
+++ b/docs/lib/passlib.hash.bcrypt.rst
@@ -48,11 +48,19 @@ Interface
Bcrypt Backends
---------------
+.. rst-class:: float-center
+
+.. warning::
+
+ Support for ``py-bcrypt`` and ``bcryptor`` will be dropped in Passlib 1.8,
+ as these libraries are unmaintained.
+
+
This class will use the first available of five possible backends:
1. `bcrypt <https://pypi.python.org/pypi/bcrypt>`_, if installed.
-2. `py-bcrypt <https://pypi.python.org/pypi/py-bcrypt>`_, if installed.
-3. `bcryptor <https://bitbucket.org/ares/bcryptor/overview>`_, if installed.
+2. `py-bcrypt <https://pypi.python.org/pypi/py-bcrypt>`_, if installed (DEPRECATED)
+3. `bcryptor <https://bitbucket.org/ares/bcryptor/overview>`_, if installed (DEPRECATED).
4. stdlib's :func:`crypt.crypt()`, if the host OS supports BCrypt
(primarily BSD-derived systems).
5. A pure-python implementation of BCrypt, built into Passlib.
diff --git a/docs/lib/passlib.pwd.rst b/docs/lib/passlib.pwd.rst
index bb36844..8b41bd8 100644
--- a/docs/lib/passlib.pwd.rst
+++ b/docs/lib/passlib.pwd.rst
@@ -47,6 +47,6 @@ Passlib does not currently offer any password strength estimation routines.
However, the (javascript-based) `zxcvbn <https://github.com/dropbox/zxcvbn>`_
project is a *very* good choice.
-Though there are a few different python ports of ZXCVBN library, as of 2019-3-4,
-`zxcvbn <https://pypi.python.org/pypi/zxcvbn>` is the most up-to-date,
+Though there are a few different python ports of ZXCVBN library, as of 2019-11-13,
+`zxcvbn (@ pypi) <https://pypi.python.org/pypi/zxcvbn>`_ is the most up-to-date,
and is endorsed by the upstream zxcvbn developers.
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 2ce7120..5afb30c 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1,5 +1,2 @@
-# NOTE: switched to custom branch until https://github.com/dreamhost/sphinxcontrib-fulltoc/issues/10 is fixed
-## sphinxcontrib-fulltoc
-git+https://github.com/eli-collins/sphinxcontrib-fulltoc.git
-
+sphinxcontrib-fulltoc
hg+https://bitbucket.org/ecollins/cloud_sptheme