xync-schema 0.6.27__tar.gz → 0.6.28__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.
@@ -1,19 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xync-schema
3
- Version: 0.6.27
3
+ Version: 0.6.28
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
7
7
  Project-URL: Homepage, https://gitlab.com/xync/back/schema
8
8
  Project-URL: Repository, https://gitlab.com/xync/back/schema
9
- Requires-Python: >=3.11
9
+ Requires-Python: >=3.12
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: xtg-auth
12
12
  Provides-Extra: dev
13
13
  Requires-Dist: pytest; extra == "dev"
14
14
  Requires-Dist: build; extra == "dev"
15
15
  Requires-Dist: twine; extra == "dev"
16
- Requires-Dist: setuptools_scm; extra == "dev"
17
16
 
18
17
  ## INSTALL
19
18
  ```bash
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "xync-schema"
3
- requires-python = ">=3.11"
3
+ requires-python = ">=3.12"
4
4
  authors = [
5
5
  {name = "Mike Artemiev", email = "mixartemev@gmail.com"},
6
6
  ]
@@ -28,7 +28,6 @@ dev = [
28
28
  "pytest",
29
29
  "build",
30
30
  "twine",
31
- "setuptools_scm",
32
31
  ]
33
32
 
34
33
  [tool.pytest.ini_options]
@@ -6,15 +6,15 @@ from tortoise import connections
6
6
  from tortoise.backends.asyncpg import AsyncpgDBClient
7
7
  from x_model import init_db
8
8
 
9
- from xync_schema import models
10
- from xync_schema.models import Cur
9
+ from xync_schema import model
10
+ from xync_schema.model import Cur
11
11
 
12
12
  load_dotenv()
13
13
 
14
14
 
15
15
  @pytest.fixture
16
16
  async def dbc() -> AsyncpgDBClient:
17
- await init_db(env("DB_URL"), models, True)
17
+ await init_db(env("DB_URL"), model, True)
18
18
  cn: AsyncpgDBClient = connections.get("default")
19
19
  yield cn
20
20
  await cn.close()
@@ -1,7 +1,8 @@
1
1
  from datetime import datetime
2
2
  from enum import IntEnum
3
3
  from tortoise import fields
4
- from x_model.model import Model, TsTrait, DatetimeSecField
4
+ from x_auth.model import Model
5
+ from x_model.model import TsTrait, DatetimeSecField
5
6
  from tg_auth.models import UserRefTrait, UserInfoTrait, User as BaseUser, UserStatus
6
7
 
7
8
 
@@ -1,19 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xync-schema
3
- Version: 0.6.27
3
+ Version: 0.6.28
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
7
7
  Project-URL: Homepage, https://gitlab.com/xync/back/schema
8
8
  Project-URL: Repository, https://gitlab.com/xync/back/schema
9
- Requires-Python: >=3.11
9
+ Requires-Python: >=3.12
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: xtg-auth
12
12
  Provides-Extra: dev
13
13
  Requires-Dist: pytest; extra == "dev"
14
14
  Requires-Dist: build; extra == "dev"
15
15
  Requires-Dist: twine; extra == "dev"
16
- Requires-Dist: setuptools_scm; extra == "dev"
17
16
 
18
17
  ## INSTALL
19
18
  ```bash
@@ -7,7 +7,7 @@ pyproject.toml
7
7
  tests/__init__.py
8
8
  tests/test_db.py
9
9
  xync_schema/__init__.py
10
- xync_schema/models.py
10
+ xync_schema/model.py
11
11
  xync_schema.egg-info/PKG-INFO
12
12
  xync_schema.egg-info/SOURCES.txt
13
13
  xync_schema.egg-info/dependency_links.txt
@@ -4,4 +4,3 @@ xtg-auth
4
4
  pytest
5
5
  build
6
6
  twine
7
- setuptools_scm
File without changes
File without changes
File without changes
File without changes
File without changes