Hello community,
here is the log from the commit of package python-pickleshare for
openSUSE:Factory checked in at 2018-10-15 10:48:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pickleshare (Old)
and /work/SRC/openSUSE:Factory/.python-pickleshare.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pickleshare"
Mon Oct 15 10:48:57 2018 rev:3 rq:641339 version:0.7.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pickleshare/python-pickleshare.changes
2017-07-17 09:09:13.848225434 +0200
+++
/work/SRC/openSUSE:Factory/.python-pickleshare.new/python-pickleshare.changes
2018-10-15 10:49:00.243033588 +0200
@@ -1,0 +2,7 @@
+Thu Oct 11 18:48:37 UTC 2018 - Todd R <[email protected]>
+
+- update to version 0.7.5
+ * path.py is no longer used
+ * Fixed test issues
+
+-------------------------------------------------------------------
Old:
----
pickleshare-0.7.4.tar.gz
New:
----
pickleshare-0.7.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pickleshare.spec ++++++
--- /var/tmp/diff_new_pack.VMndR6/_old 2018-10-15 10:49:00.827032965 +0200
+++ /var/tmp/diff_new_pack.VMndR6/_new 2018-10-15 10:49:00.831032961 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pickleshare
-Version: 0.7.4
+Version: 0.7.5
Release: 0
Summary: Tiny shelve-like database with concurrency support
License: MIT
@@ -37,7 +37,6 @@
%ifpython2
Requires: python-pathlib2
%endif
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -77,8 +76,8 @@
%endif
%files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE
+%doc README.md
+%license LICENSE
%{python_sitelib}/pickleshare.py*
%{python_sitelib}/pickleshare-%{version}-py*.egg-info
%pycache_only %{python_sitelib}/__pycache__/pickleshare.*.py*
++++++ pickleshare-0.7.4.tar.gz -> pickleshare-0.7.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/PKG-INFO
new/pickleshare-0.7.5/PKG-INFO
--- old/pickleshare-0.7.4/PKG-INFO 2016-08-13 23:59:03.000000000 +0200
+++ new/pickleshare-0.7.5/PKG-INFO 2018-09-25 21:16:16.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pickleshare
-Version: 0.7.4
+Version: 0.7.5
Summary: Tiny 'shelve'-like database with concurrency support
Home-page: https://github.com/pickleshare/pickleshare
Author: Ville Vainio
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/README.md
new/pickleshare-0.7.5/README.md
--- old/pickleshare-0.7.4/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/pickleshare-0.7.5/README.md 2018-09-25 21:10:17.000000000 +0200
@@ -0,0 +1,42 @@
+PickleShare - a small 'shelve' like datastore with concurrency support
+
+Like shelve, a PickleShareDB object acts like a normal dictionary. Unlike
shelve,
+many processes can access the database simultaneously. Changing a value in
+database is immediately visible to other processes accessing the same database.
+
+Concurrency is possible because the values are stored in separate files. Hence
+the "database" is a directory where *all* files are governed by PickleShare.
+
+Both python2 and python3 are supported.
+
+Example usage:
+
+```python
+
+from pickleshare import *
+db = PickleShareDB('~/testpickleshare')
+db.clear()
+print("Should be empty:", db.items())
+db['hello'] = 15
+db['aku ankka'] = [1,2,313]
+db['paths/are/ok/key'] = [1,(5,46)]
+print(db.keys())
+```
+
+This module is certainly not ZODB, but can be used for low-load
+(non-mission-critical) situations where tiny code size trumps the
+advanced features of a "real" object database.
+
+Installation guide:
+
+```sh
+pip install pickleshare
+```
+
+Or, if installing from source
+
+```sh
+pip install .
+```
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/pickleshare.egg-info/PKG-INFO
new/pickleshare-0.7.5/pickleshare.egg-info/PKG-INFO
--- old/pickleshare-0.7.4/pickleshare.egg-info/PKG-INFO 2016-08-13
23:59:03.000000000 +0200
+++ new/pickleshare-0.7.5/pickleshare.egg-info/PKG-INFO 2018-09-25
21:16:16.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pickleshare
-Version: 0.7.4
+Version: 0.7.5
Summary: Tiny 'shelve'-like database with concurrency support
Home-page: https://github.com/pickleshare/pickleshare
Author: Ville Vainio
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/pickleshare.egg-info/SOURCES.txt
new/pickleshare-0.7.5/pickleshare.egg-info/SOURCES.txt
--- old/pickleshare-0.7.4/pickleshare.egg-info/SOURCES.txt 2016-08-13
23:59:03.000000000 +0200
+++ new/pickleshare-0.7.5/pickleshare.egg-info/SOURCES.txt 2018-09-25
21:16:16.000000000 +0200
@@ -1,5 +1,6 @@
LICENSE
MANIFEST.in
+README.md
pickleshare.py
setup.cfg
setup.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/pickleshare.py
new/pickleshare-0.7.5/pickleshare.py
--- old/pickleshare-0.7.4/pickleshare.py 2016-08-13 23:56:02.000000000
+0200
+++ new/pickleshare-0.7.5/pickleshare.py 2018-09-25 21:12:44.000000000
+0200
@@ -26,7 +26,7 @@
(non-mission-critical) situations where tiny code size trumps the
advanced features of a "real" object database.
-Installation guide: pip install path pickleshare
+Installation guide: pip install pickleshare
Author: Ville Vainio <[email protected]>
License: MIT open source license.
@@ -36,7 +36,7 @@
from __future__ import print_function
-__version__ = "0.7.4"
+__version__ = "0.7.5"
try:
from pathlib import Path
@@ -45,7 +45,10 @@
from pathlib2 import Path
import os,stat,time
-import collections
+try:
+ import collections.abc as collections_abc
+except ImportError:
+ import collections as collections_abc
try:
import cPickle as pickle
except ImportError:
@@ -63,7 +66,7 @@
_sentinel = object()
-class PickleShareDB(collections.MutableMapping):
+class PickleShareDB(collections_abc.MutableMapping):
""" The main 'connection' object for PickleShare database """
def __init__(self,root):
""" Return a db object that will manage the specied directory"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/setup.cfg
new/pickleshare-0.7.5/setup.cfg
--- old/pickleshare-0.7.4/setup.cfg 2016-08-13 23:59:03.000000000 +0200
+++ new/pickleshare-0.7.5/setup.cfg 2018-09-25 21:16:16.000000000 +0200
@@ -4,5 +4,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0