[tryton-debian-vcs] tryton-proteus branch upstream-4.0 updated. upstream/4.0.3-1-ge7d6069

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Nov 12 16:37:13 UTC 2017


The following commit has been merged in the upstream-4.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-proteus.git;a=commitdiff;h=upstream/4.0.3-1-ge7d6069

commit e7d6069f7c9cdd4e3caefbb531455233eef42569
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 14:21:52 2017 +0100

    Adding upstream version 4.0.4.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..18f6590
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,4 @@
+image: python:all
+script:
+  - pip install tox pydot
+  - tox -e "py27,py33,py34,py35" --skip-missing-interpreters
diff --git a/CHANGELOG b/CHANGELOG
index e26b764..65f3e69 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.4 - 2017-11-07
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.3 - 2016-11-06
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 29bd825..68d11e5 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2010-2016 Cédric Krier.
-Copyright (C) 2010-2016 B2CK SPRL.
+Copyright (C) 2010-2017 Cédric Krier.
+Copyright (C) 2010-2017 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index 2266a9f..c2b9b95 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: proteus
-Version: 4.0.3
+Version: 4.0.4
 Summary: Library to access Tryton server as a client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/proteus.egg-info/PKG-INFO b/proteus.egg-info/PKG-INFO
index 2266a9f..c2b9b95 100644
--- a/proteus.egg-info/PKG-INFO
+++ b/proteus.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: proteus
-Version: 4.0.3
+Version: 4.0.4
 Summary: Library to access Tryton server as a client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/proteus.egg-info/SOURCES.txt b/proteus.egg-info/SOURCES.txt
index b19dc88..bf445ef 100644
--- a/proteus.egg-info/SOURCES.txt
+++ b/proteus.egg-info/SOURCES.txt
@@ -1,3 +1,5 @@
+.drone.yml
+.hgtags
 CHANGELOG
 COPYRIGHT
 INSTALL
@@ -5,6 +7,7 @@ LICENSE
 MANIFEST.in
 README
 setup.py
+tox.ini
 proteus/__init__.py
 proteus/config.py
 proteus/pyson.py
diff --git a/proteus/__init__.py b/proteus/__init__.py
index e710f4b..eac0df3 100644
--- a/proteus/__init__.py
+++ b/proteus/__init__.py
@@ -3,7 +3,7 @@
 '''
 A library to access Tryton's models like a client.
 '''
-__version__ = "4.0.3"
+__version__ = "4.0.4"
 __all__ = ['Model', 'Wizard', 'Report']
 import sys
 try:
@@ -545,6 +545,8 @@ class ModelList(list):
                 definition = record._fields[self.parent_name]
                 if definition['type'] in ('many2one', 'reference'):
                     setattr(record, self.parent_name, self.parent)
+        self.record_removed.difference_update(records)
+        self.record_deleted.difference_update(records)
 
     def append(self, record):
         self.__check([record])
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..ccb2d68
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,10 @@
+[tox]
+envlist = py27,py33,py34,py35,pypy
+
+[testenv]
+commands = {envpython} setup.py test
+deps =
+setenv =
+    TRYTOND_DATABASE_URI={env:TRYTOND_DATBASE_URI:sqlite://}
+    DB_NAME={env:DB_NAME::memory:}
+install_command = pip install --pre --find-links https://trydevpi.tryton.org/ {opts} {packages}
-- 
tryton-proteus



More information about the tryton-debian-vcs mailing list