lamindb_setup 1.3.1__py3-none-any.whl → 1.3.2__py3-none-any.whl

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.
lamindb_setup/__init__.py CHANGED
@@ -33,7 +33,7 @@ Modules & settings:
33
33
 
34
34
  """
35
35
 
36
- __version__ = "1.3.1" # denote a release candidate for 0.1.0 with 0.1rc1
36
+ __version__ = "1.3.2" # denote a release candidate for 0.1.0 with 0.1rc1
37
37
 
38
38
  import os
39
39
 
lamindb_setup/_migrate.py CHANGED
@@ -47,16 +47,20 @@ def check_whether_migrations_in_sync(db_version_str: str):
47
47
  f"the database ({db_version_str}) is far behind your installed lamindb package"
48
48
  f" ({installed_version_str})"
49
49
  )
50
- logger.important("migrate your database: lamin migrate deploy")
50
+ logger.important(
51
+ "if you are an admin, migrate your database: lamin migrate deploy"
52
+ )
51
53
  elif (
52
54
  installed_version.major == db_version.major
53
55
  and installed_version.minor > db_version.minor
54
56
  ):
55
- logger.important(
56
- f"the database ({db_version_str}) is behind your installed lamindb package"
57
- f" ({installed_version_str})"
58
- )
59
- logger.important("consider migrating your database: lamin migrate deploy")
57
+ pass
58
+ # if the database is behind by a minor version, we don't want to spam the user
59
+ # logger.important(
60
+ # f"the database ({db_version_str}) is behind your installed lamindb package"
61
+ # f" ({installed_version_str})"
62
+ # )
63
+ # logger.important("consider migrating your database: lamin migrate deploy")
60
64
 
61
65
 
62
66
  # for tests, see lamin-cli
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lamindb_setup
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: Setup & configure LaminDB.
5
5
  Author-email: Lamin Labs <open-source@lamin.ai>
6
6
  Requires-Python: >=3.10
@@ -1,4 +1,4 @@
1
- lamindb_setup/__init__.py,sha256=ufOB1lSTRTPp-RZONLCcBSPomaQdlpnxW9U__2ODvcQ,2692
1
+ lamindb_setup/__init__.py,sha256=LkDrKl5YfGD2qI3A9fPfHkesr8R0ASCPzKqvNZFtRiE,2692
2
2
  lamindb_setup/_cache.py,sha256=aszT-zk3S5dTLKp5g1W-S_FPh2E5YVCALwWSGPJLWBM,1493
3
3
  lamindb_setup/_check.py,sha256=28PcG8Kp6OpjSLSi1r2boL2Ryeh6xkaCL87HFbjs6GA,129
4
4
  lamindb_setup/_check_setup.py,sha256=d1GS1Csy2G9AysfjoyVcNVY0lhHiWSwSLpfgdIQf35s,5477
@@ -10,7 +10,7 @@ lamindb_setup/_entry_points.py,sha256=sKwXPX9xjOotoAjvgkU5LBwjjHLWVkh0ZGdiSsrch9
10
10
  lamindb_setup/_exportdb.py,sha256=QLjoH4dEwqa01A12naKaDPglCCzl2_VLKWFfJRE_uSg,2113
11
11
  lamindb_setup/_importdb.py,sha256=fKv9ev5OOj_-bmzC8XZ1GxOcjIjI486yrHSHDWQrJeI,1874
12
12
  lamindb_setup/_init_instance.py,sha256=wZ1yEnbogduQOXkEbcip9Jm8mys1NtJy2W5RRWJy1lQ,14253
13
- lamindb_setup/_migrate.py,sha256=gqWfXgixiD4dpQOq1ePVPfCj88iMCQSx4vxg_QKvFGc,9586
13
+ lamindb_setup/_migrate.py,sha256=ya-15sc91i4JmEWI4j00T2892x8hdy2fSW-qz4IdxLs,9739
14
14
  lamindb_setup/_register_instance.py,sha256=X7ZGlCVOZKq4zTpi3bxML4jzo6hgN9UYmdTxxf6JLmc,1205
15
15
  lamindb_setup/_schema.py,sha256=b3uzhhWpV5mQtDwhMINc2MabGCnGLESy51ito3yl6Wc,679
16
16
  lamindb_setup/_schema_metadata.py,sha256=cDkNHyFTFZq879UGY6i-rJEXfeBN59AN3Wz86caKnYI,14358
@@ -41,7 +41,7 @@ lamindb_setup/core/exceptions.py,sha256=4NpLUNUIfXYVTFX2FvLZF8RW34exk2Vn2X3G4Yhn
41
41
  lamindb_setup/core/hashing.py,sha256=M3Q1-ywnqh4Uy5zojbQfLju19HU0ySp8Oi7FGIJXfFI,3667
42
42
  lamindb_setup/core/types.py,sha256=zJii2le38BJUmsNVvzDrbzGYr0yaeb-9Rw9IKmsBr3k,523
43
43
  lamindb_setup/core/upath.py,sha256=AvRmICPBxQx-2iQYsXDFsrJS-AAUNuw6IymLcVmkWvo,33550
44
- lamindb_setup-1.3.1.dist-info/LICENSE,sha256=UOZ1F5fFDe3XXvG4oNnkL1-Ecun7zpHzRxjp-XsMeAo,11324
45
- lamindb_setup-1.3.1.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
46
- lamindb_setup-1.3.1.dist-info/METADATA,sha256=8SPEZKzLf1XSP8kM23EpttkZe7r4mXBI-SLl_26Ewmg,1779
47
- lamindb_setup-1.3.1.dist-info/RECORD,,
44
+ lamindb_setup-1.3.2.dist-info/LICENSE,sha256=UOZ1F5fFDe3XXvG4oNnkL1-Ecun7zpHzRxjp-XsMeAo,11324
45
+ lamindb_setup-1.3.2.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
46
+ lamindb_setup-1.3.2.dist-info/METADATA,sha256=LIS6VdKmukplKvZNzFx1KP0bn1cXMTVDlIJ_MCtU3n8,1779
47
+ lamindb_setup-1.3.2.dist-info/RECORD,,