proteus 7.2.0__tar.gz → 7.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of proteus might be problematic. Click here for more details.

Files changed (31) hide show
  1. {proteus-7.2.0 → proteus-7.4.0}/CHANGELOG +5 -0
  2. {proteus-7.2.0/proteus.egg-info → proteus-7.4.0}/PKG-INFO +5 -5
  3. {proteus-7.2.0 → proteus-7.4.0}/doc/conf.py +2 -2
  4. {proteus-7.2.0 → proteus-7.4.0}/proteus/__init__.py +1 -1
  5. {proteus-7.2.0 → proteus-7.4.0}/proteus/pyson.py +2 -1
  6. {proteus-7.2.0 → proteus-7.4.0/proteus.egg-info}/PKG-INFO +5 -5
  7. proteus-7.4.0/proteus.egg-info/requires.txt +9 -0
  8. proteus-7.2.0/proteus.egg-info/requires.txt +0 -9
  9. {proteus-7.2.0 → proteus-7.4.0}/COPYRIGHT +0 -0
  10. {proteus-7.2.0 → proteus-7.4.0}/LICENSE +0 -0
  11. {proteus-7.2.0 → proteus-7.4.0}/MANIFEST.in +0 -0
  12. {proteus-7.2.0 → proteus-7.4.0}/README.rst +0 -0
  13. {proteus-7.2.0 → proteus-7.4.0}/doc/index.rst +0 -0
  14. {proteus-7.2.0 → proteus-7.4.0}/doc/releases.rst +0 -0
  15. {proteus-7.2.0 → proteus-7.4.0}/doc/requirements-doc.txt +0 -0
  16. {proteus-7.2.0 → proteus-7.4.0}/proteus/config.py +0 -0
  17. {proteus-7.2.0 → proteus-7.4.0}/proteus/tests/__init__.py +0 -0
  18. {proteus-7.2.0 → proteus-7.4.0}/proteus/tests/common.py +0 -0
  19. {proteus-7.2.0 → proteus-7.4.0}/proteus/tests/test_config.py +0 -0
  20. {proteus-7.2.0 → proteus-7.4.0}/proteus/tests/test_context.py +0 -0
  21. {proteus-7.2.0 → proteus-7.4.0}/proteus/tests/test_model.py +0 -0
  22. {proteus-7.2.0 → proteus-7.4.0}/proteus/tests/test_readme.py +0 -0
  23. {proteus-7.2.0 → proteus-7.4.0}/proteus/tests/test_report.py +0 -0
  24. {proteus-7.2.0 → proteus-7.4.0}/proteus/tests/test_wizard.py +0 -0
  25. {proteus-7.2.0 → proteus-7.4.0}/proteus.egg-info/SOURCES.txt +0 -0
  26. {proteus-7.2.0 → proteus-7.4.0}/proteus.egg-info/dependency_links.txt +0 -0
  27. {proteus-7.2.0 → proteus-7.4.0}/proteus.egg-info/top_level.txt +0 -0
  28. {proteus-7.2.0 → proteus-7.4.0}/proteus.egg-info/zip-safe +0 -0
  29. {proteus-7.2.0 → proteus-7.4.0}/setup.cfg +0 -0
  30. {proteus-7.2.0 → proteus-7.4.0}/setup.py +0 -0
  31. {proteus-7.2.0 → proteus-7.4.0}/tox.ini +0 -0
@@ -1,4 +1,9 @@
1
1
 
2
+ Version 7.4.0 - 2024-11-04
3
+ --------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
2
7
  Version 7.2.0 - 2024-04-29
3
8
  --------------------------
4
9
  * Bug fixes (see mercurial logs for details)
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: proteus
3
- Version: 7.2.0
3
+ Version: 7.4.0
4
4
  Summary: Library to access Tryton server as a client
5
5
  Home-page: http://www.tryton.org/
6
- Download-URL: http://downloads.tryton.org/7.2/
6
+ Download-URL: http://downloads.tryton.org/7.4/
7
7
  Author: Tryton
8
8
  Author-email: foundation@tryton.org
9
9
  License: LGPL-3
@@ -34,10 +34,10 @@ License-File: LICENSE
34
34
  Requires-Dist: defusedxml
35
35
  Requires-Dist: python-dateutil
36
36
  Provides-Extra: trytond
37
- Requires-Dist: trytond<7.3,>=7.2; extra == "trytond"
37
+ Requires-Dist: trytond<7.5,>=7.4; extra == "trytond"
38
38
  Provides-Extra: test
39
- Requires-Dist: trytond<7.3,>=7.2; extra == "test"
40
- Requires-Dist: trytond_party<7.3,>=7.2; extra == "test"
39
+ Requires-Dist: trytond<7.5,>=7.4; extra == "test"
40
+ Requires-Dist: trytond_party<7.5,>=7.4; extra == "test"
41
41
 
42
42
  =======================
43
43
  Tryton Scripting Client
@@ -8,8 +8,8 @@ if base_url:
8
8
  modules_url = base_url + '/modules-{module}/'
9
9
  trytond_url = base_url + '/server/'
10
10
  else:
11
- modules_url = 'https://docs.tryton.org/${series}/modules-{module}/'
12
- trytond_url = 'https://docs.tryton.org/${series}/server/'
11
+ modules_url = 'https://docs.tryton.org/{series}/modules-{module}/'
12
+ trytond_url = 'https://docs.tryton.org/{series}/server/'
13
13
 
14
14
 
15
15
  def get_info():
@@ -10,7 +10,7 @@ from decimal import Decimal
10
10
 
11
11
  import proteus.config
12
12
 
13
- __version__ = "7.2.0"
13
+ __version__ = "7.4.0"
14
14
  __all__ = ['Model', 'Wizard', 'Report']
15
15
 
16
16
  _MODELS = threading.local()
@@ -662,7 +662,8 @@ class DateTime(Date):
662
662
  and not isinstance(now, datetime.datetime)):
663
663
  now = datetime.datetime.combine(now, datetime.time())
664
664
  if not isinstance(now, datetime.datetime):
665
- now = datetime.datetime.utcnow()
665
+ now = datetime.datetime.now(
666
+ datetime.timezone.utc).replace(tzinfo=None)
666
667
  return now + relativedelta(
667
668
  year=dct['y'],
668
669
  month=dct['M'],
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: proteus
3
- Version: 7.2.0
3
+ Version: 7.4.0
4
4
  Summary: Library to access Tryton server as a client
5
5
  Home-page: http://www.tryton.org/
6
- Download-URL: http://downloads.tryton.org/7.2/
6
+ Download-URL: http://downloads.tryton.org/7.4/
7
7
  Author: Tryton
8
8
  Author-email: foundation@tryton.org
9
9
  License: LGPL-3
@@ -34,10 +34,10 @@ License-File: LICENSE
34
34
  Requires-Dist: defusedxml
35
35
  Requires-Dist: python-dateutil
36
36
  Provides-Extra: trytond
37
- Requires-Dist: trytond<7.3,>=7.2; extra == "trytond"
37
+ Requires-Dist: trytond<7.5,>=7.4; extra == "trytond"
38
38
  Provides-Extra: test
39
- Requires-Dist: trytond<7.3,>=7.2; extra == "test"
40
- Requires-Dist: trytond_party<7.3,>=7.2; extra == "test"
39
+ Requires-Dist: trytond<7.5,>=7.4; extra == "test"
40
+ Requires-Dist: trytond_party<7.5,>=7.4; extra == "test"
41
41
 
42
42
  =======================
43
43
  Tryton Scripting Client
@@ -0,0 +1,9 @@
1
+ defusedxml
2
+ python-dateutil
3
+
4
+ [test]
5
+ trytond<7.5,>=7.4
6
+ trytond_party<7.5,>=7.4
7
+
8
+ [trytond]
9
+ trytond<7.5,>=7.4
@@ -1,9 +0,0 @@
1
- defusedxml
2
- python-dateutil
3
-
4
- [test]
5
- trytond<7.3,>=7.2
6
- trytond_party<7.3,>=7.2
7
-
8
- [trytond]
9
- trytond<7.3,>=7.2
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes