Run of fresh-releases for python-flask-session
Merge these changes:
git pull https://janitor.kali.org/git/python-flask-session fresh-releases/pristine-tar
git pull https://janitor.kali.org/git/python-flask-session fresh-releases/upstream
Summary
Merged new upstream version: 0.3.2 (was: 0.3.1).
Diff
Branch: pristine-tar
diff --git a/python-flask-session_0.3.2.orig.tar.gz.delta b/python-flask-session_0.3.2.orig.tar.gz.delta
new file mode 100644
index 0000000..3fa510f
Binary files /dev/null and b/python-flask-session_0.3.2.orig.tar.gz.delta differ
diff --git a/python-flask-session_0.3.2.orig.tar.gz.id b/python-flask-session_0.3.2.orig.tar.gz.id
new file mode 100644
index 0000000..e47afee
--- /dev/null
+++ b/python-flask-session_0.3.2.orig.tar.gz.id
@@ -0,0 +1 @@
+e976e84e3a77455714b5b7a29d547f87424a7db7
Branch: upstream
Tag: upstream/0.3.2diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index 9ae102d..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "docs/_themes"]
- path = docs/_themes
- url = git@github.com:mitsuhiko/flask-sphinx-themes.git
diff --git a/CHANGES b/CHANGES
index 40125b0..47d2412 100644
--- a/CHANGES
+++ b/CHANGES
@@ -48,3 +48,8 @@ Version 0.3.1
- SqlAlchemySessionInterface is using VARCHAR(255) to store session id now
- SqlAlchemySessionInterface won't run `db.create_all` anymore
+
+Version 0.3.2
+`````````````
+
+- Changed `werkzeug.contrib.cache` to `cachelib`
diff --git a/docs/conf.py b/docs/conf.py
index 5b0137e..72ae977 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -19,7 +19,6 @@ import os
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
-sys.path.append(os.path.abspath('_themes'))
# -- General configuration ------------------------------------------------
@@ -106,18 +105,20 @@ exclude_patterns = ['_build']
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'flask_small'
+html_theme = 'alabaster'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
- 'index_logo': 'flask-session.png',
- 'github_fork': 'fengsp/flask-session'
+ # 'logo': 'flask-session.png',
+ 'github_button': True,
+ 'github_user': 'fengsp',
+ 'github_repo': 'flask-session',
}
# Add any paths that contain custom themes here, relative to this directory.
-html_theme_path = ['_themes']
+#html_theme_path = ['_themes']
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
diff --git a/flask_session/__init__.py b/flask_session/__init__.py
index 46e0948..d37b463 100644
--- a/flask_session/__init__.py
+++ b/flask_session/__init__.py
@@ -9,7 +9,7 @@
:license: BSD, see LICENSE for more details.
"""
-__version__ = '0.3.1'
+__version__ = '0.3.2'
import os
diff --git a/flask_session/sessions.py b/flask_session/sessions.py
index 6ba1f1f..cdf18e1 100644
--- a/flask_session/sessions.py
+++ b/flask_session/sessions.py
@@ -291,8 +291,7 @@ class MemcachedSessionInterface(SessionInterface):
class FileSystemSessionInterface(SessionInterface):
- """Uses the :class:`werkzeug.contrib.cache.FileSystemCache` as a session
- backend.
+ """Uses the :class:`cachelib.file.FileSystemCache` as a session backend.
.. versionadded:: 0.2
The `use_signer` parameter was added.
@@ -310,7 +309,7 @@ class FileSystemSessionInterface(SessionInterface):
def __init__(self, cache_dir, threshold, mode, key_prefix,
use_signer=False, permanent=True):
- from werkzeug.contrib.cache import FileSystemCache
+ from cachelib.file import FileSystemCache
self.cache = FileSystemCache(cache_dir, threshold=threshold, mode=mode)
self.key_prefix = key_prefix
self.use_signer = use_signer
diff --git a/setup.py b/setup.py
index ba2b9f1..231c414 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
Flask-Session
-------------
-Flask-Session is an extension for Flask that adds support for
+Flask-Session is an extension for Flask that adds support for
Server-side Session to your application.
Links
@@ -17,7 +17,7 @@ from setuptools import setup
setup(
name='Flask-Session',
- version='0.3.1',
+ version='0.3.2',
url='https://github.com/fengsp/flask-session',
license='BSD',
author='Shipeng Feng',
@@ -29,7 +29,8 @@ setup(
include_package_data=True,
platforms='any',
install_requires=[
- 'Flask>=0.8'
+ 'Flask>=0.8',
+ 'cachelib'
],
test_suite='test_session',
classifiers=[
Publish Blockers
- ☑ run was successful
- ☑ package has not been removed from the archive
- ☒ command changed from
new-upstream --import-only
todeb-new-upstream --debian-revision=0kali1 --require-uscan --refresh-patches --skip-empty
- ☑ review not required
- ☑ 0 publish attempts so far.not currently attempting to back off
- ☑ proposals not currently being rate-limited for maintainer None
- ☑ change set cd374fe7-ca64-4809-b041-6d31086274d8 is ready
- ☑ merge proposals for previous run were not rejected: status.