half-orm-dev 0.16.0a1__tar.gz → 0.16.0a2__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.
Files changed (45) hide show
  1. {half_orm_dev-0.16.0a1/half_orm_dev.egg-info → half_orm_dev-0.16.0a2}/PKG-INFO +2 -2
  2. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/patch.py +1 -1
  3. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/repo.py +0 -1
  4. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/module_template_1 +1 -1
  5. half_orm_dev-0.16.0a2/half_orm_dev/templates/module_template_2 +6 -0
  6. half_orm_dev-0.16.0a2/half_orm_dev/version.txt +1 -0
  7. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2/half_orm_dev.egg-info}/PKG-INFO +2 -2
  8. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev.egg-info/SOURCES.txt +0 -1
  9. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev.egg-info/requires.txt +1 -1
  10. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/setup.py +1 -6
  11. half_orm_dev-0.16.0a1/half_orm_dev/templates/module_template_2 +0 -5
  12. half_orm_dev-0.16.0a1/half_orm_dev/version.txt +0 -1
  13. half_orm_dev-0.16.0a1/half_orm_dev.egg-info/entry_points.txt +0 -2
  14. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/AUTHORS +0 -0
  15. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/LICENSE +0 -0
  16. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/README.md +0 -0
  17. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/__init__.py +0 -0
  18. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/changelog.py +0 -0
  19. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/cli_extension.py +0 -0
  20. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/database.py +0 -0
  21. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/db_conn.py +0 -0
  22. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/hgit.py +0 -0
  23. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/hop.py +0 -0
  24. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/manifest.py +0 -0
  25. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/modules.py +0 -0
  26. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/patches/0/1/0/00_half_orm_meta.database.sql +0 -0
  27. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/patches/0/1/0/01_alter_half_orm_meta.hop_release.sql +0 -0
  28. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/patches/0/1/0/02_half_orm_meta.view.hop_penultimate_release.sql +0 -0
  29. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/patches/log +0 -0
  30. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/patches/sql/half_orm_meta.sql +0 -0
  31. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/.gitignore +0 -0
  32. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/MANIFEST.in +0 -0
  33. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/Pipfile +0 -0
  34. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/README +0 -0
  35. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/base_test +0 -0
  36. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/init_module_template +0 -0
  37. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/module_template_3 +0 -0
  38. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/relation_test +0 -0
  39. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/setup.py +0 -0
  40. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/sql_adapter +0 -0
  41. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/templates/warning +0 -0
  42. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev/utils.py +0 -0
  43. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev.egg-info/dependency_links.txt +0 -0
  44. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/half_orm_dev.egg-info/top_level.txt +0 -0
  45. {half_orm_dev-0.16.0a1 → half_orm_dev-0.16.0a2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: half_orm_dev
3
- Version: 0.16.0a1
3
+ Version: 0.16.0a2
4
4
  Summary: half_orm development Framework.
5
5
  Home-page: https://github.com/collorg/halfORM_dev
6
6
  Author: Joël Maïzi
@@ -20,7 +20,7 @@ License-File: AUTHORS
20
20
  Requires-Dist: GitPython
21
21
  Requires-Dist: click
22
22
  Requires-Dist: pydash
23
- Requires-Dist: half_orm>=0.14.0
23
+ Requires-Dist: half_orm>=0.16.0
24
24
  Requires-Dist: pytest
25
25
  Dynamic: author
26
26
  Dynamic: author-email
@@ -310,7 +310,7 @@ class Patch:
310
310
  f'Please `git commit` your changes before releasing {next_release}.\n', exit_code=1)
311
311
  # The patch must be applied and the last to apply
312
312
  if self.__repo.database.last_release_s != next_release:
313
- utils.error(f'Please `hop test` before releasing {next_release}.\n', exit_code=1)
313
+ utils.error(f'Please `hop apply` before releasing {next_release}.\n', exit_code=1)
314
314
  # If we undo the patch (db only) and re-apply it the repo must still be clear.
315
315
  self.undo(database_only=True)
316
316
  self.apply(next_release, force=True)
@@ -178,7 +178,6 @@ class Repo:
178
178
  @property
179
179
  def state(self):
180
180
  "Returns the state (str) of the repository."
181
- print('XXX', hop_version())
182
181
  res = [f'hop version: {utils.Color.bold(hop_version())}']
183
182
  res += [f'half-orm version: {utils.Color.bold(half_orm.__version__)}\n']
184
183
  if self.__config:
@@ -7,6 +7,6 @@ WARNING!
7
7
  {warning}
8
8
  """
9
9
 
10
+ from half_orm.model import register
10
11
  from {package_name} import MODEL, ho_dataclasses
11
- {inheritance_import}
12
12
  fields_aliases=None
@@ -0,0 +1,6 @@
1
+
2
+ @register
3
+ class {class_name}(MODEL.get_relation_class('{fqtn}', fields_aliases=fields_aliases), ho_dataclasses.{dc_name}):
4
+ """
5
+ {documentation}
6
+ """
@@ -0,0 +1 @@
1
+ 0.16.0-a2
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: half_orm_dev
3
- Version: 0.16.0a1
3
+ Version: 0.16.0a2
4
4
  Summary: half_orm development Framework.
5
5
  Home-page: https://github.com/collorg/halfORM_dev
6
6
  Author: Joël Maïzi
@@ -20,7 +20,7 @@ License-File: AUTHORS
20
20
  Requires-Dist: GitPython
21
21
  Requires-Dist: click
22
22
  Requires-Dist: pydash
23
- Requires-Dist: half_orm>=0.14.0
23
+ Requires-Dist: half_orm>=0.16.0
24
24
  Requires-Dist: pytest
25
25
  Dynamic: author
26
26
  Dynamic: author-email
@@ -18,7 +18,6 @@ half_orm_dev/version.txt
18
18
  half_orm_dev.egg-info/PKG-INFO
19
19
  half_orm_dev.egg-info/SOURCES.txt
20
20
  half_orm_dev.egg-info/dependency_links.txt
21
- half_orm_dev.egg-info/entry_points.txt
22
21
  half_orm_dev.egg-info/requires.txt
23
22
  half_orm_dev.egg-info/top_level.txt
24
23
  half_orm_dev/patches/log
@@ -1,5 +1,5 @@
1
1
  GitPython
2
2
  click
3
3
  pydash
4
- half_orm>=0.14.0
4
+ half_orm>=0.16.0
5
5
  pytest
@@ -25,14 +25,9 @@ setup(
25
25
  'GitPython',
26
26
  'click',
27
27
  'pydash',
28
- 'half_orm>=0.14.0',
28
+ 'half_orm>=0.16.0',
29
29
  'pytest'
30
30
  ],
31
- entry_points={
32
- 'console_scripts': [
33
- 'hop=half_orm_dev.hop:main',
34
- ],
35
- },
36
31
  classifiers=[
37
32
  # How mature is this project? Common values are
38
33
  # 3 - Alpha
@@ -1,5 +0,0 @@
1
-
2
- class {class_name}({inherited_classes}MODEL.get_relation_class('{fqtn}', fields_aliases=fields_aliases), ho_dataclasses.{dc_name}):
3
- """
4
- {documentation}
5
- """
@@ -1 +0,0 @@
1
- 0.16.0-a1
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- hop = half_orm_dev.hop:main
File without changes
File without changes