xbot.plugins.pgsql 0.2.2__tar.gz → 1.0.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.
Files changed (24) hide show
  1. {xbot_plugins_pgsql-0.2.2/xbot.plugins.pgsql.egg-info → xbot_plugins_pgsql-1.0.0}/PKG-INFO +4 -4
  2. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/pyproject.toml +1 -1
  3. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/tests/test_pgsql.py +4 -0
  4. xbot_plugins_pgsql-1.0.0/xbot/plugins/pgsql/version.py +5 -0
  5. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0/xbot.plugins.pgsql.egg-info}/PKG-INFO +4 -4
  6. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/xbot.plugins.pgsql.egg-info/SOURCES.txt +0 -2
  7. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/xbot.plugins.pgsql.egg-info/requires.txt +1 -1
  8. xbot_plugins_pgsql-0.2.2/docs/superpowers/plans/2026-07-24-pgsql-library.md +0 -1871
  9. xbot_plugins_pgsql-0.2.2/docs/superpowers/specs/2026-07-24-pgsql-library-design.md +0 -433
  10. xbot_plugins_pgsql-0.2.2/xbot/plugins/pgsql/version.py +0 -5
  11. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/LICENSE +0 -0
  12. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/README.md +0 -0
  13. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/README.zh.md +0 -0
  14. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/setup.cfg +0 -0
  15. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/setup.py +0 -0
  16. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/tests/__init__.py +0 -0
  17. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/tests/run.py +0 -0
  18. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/xbot/plugins/pgsql/__init__.py +0 -0
  19. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/xbot/plugins/pgsql/codes.py +0 -0
  20. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/xbot/plugins/pgsql/errors.py +0 -0
  21. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/xbot/plugins/pgsql/pgsql.py +0 -0
  22. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/xbot/plugins/pgsql/py.typed +0 -0
  23. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/xbot.plugins.pgsql.egg-info/dependency_links.txt +0 -0
  24. {xbot_plugins_pgsql-0.2.2 → xbot_plugins_pgsql-1.0.0}/xbot.plugins.pgsql.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xbot.plugins.pgsql
3
- Version: 0.2.2
3
+ Version: 1.0.0
4
4
  Summary: PostgreSQL library for xbot.framework
5
5
  Author-email: zhaowcheng <zhaowcheng@163.com>
6
6
  License-Expression: BSD-2-Clause
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.13
15
15
  Requires-Python: >=3.10
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: xbot.framework
18
+ Requires-Dist: xbot.framework<2,>=1
19
19
  Requires-Dist: psycopg[binary]<4,>=3
20
20
  Requires-Dist: cli_helpers
21
21
  Provides-Extra: dev
@@ -76,7 +76,7 @@ db.disconnect()
76
76
 
77
77
  ## Demo Project
78
78
 
79
- Here is a [demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v0.2.2/demo) project showing how to use `xbot.plugins.pgsql` in a test project.
79
+ Here is a [demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v1.0.0/demo) project showing how to use `xbot.plugins.pgsql` in a test project.
80
80
 
81
81
  ***
82
82
 
@@ -131,4 +131,4 @@ db.disconnect()
131
131
 
132
132
  ## 示例项目
133
133
 
134
- 展示如何在一个测试项目中使用本插件的示例:[demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v0.2.2/demo)
134
+ 展示如何在一个测试项目中使用本插件的示例:[demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v1.0.0/demo)
@@ -12,7 +12,7 @@ license = "BSD-2-Clause"
12
12
  license-files = ["LICENSE"]
13
13
  requires-python = ">=3.10"
14
14
  dependencies = [
15
- "xbot.framework",
15
+ "xbot.framework>=1,<2",
16
16
  "psycopg[binary]>=3,<4",
17
17
  "cli_helpers",
18
18
  ]
@@ -234,6 +234,10 @@ class TestPGSQLConnection(unittest.TestCase):
234
234
  self.assertEqual(PGCodes.SUCCESSFUL_COMPLETION.value, '00000')
235
235
 
236
236
  def test_connect_log_does_not_contain_password(self) -> None:
237
+ if not self.PASSWORD:
238
+ self.skipTest(
239
+ 'Empty password would make the leak assertion vacuous.'
240
+ )
237
241
  connection = PGSQLConnection()
238
242
  with patch.object(connection._logger, 'info') as info:
239
243
  connection.connect(
@@ -0,0 +1,5 @@
1
+ """
2
+ Package version.
3
+ """
4
+
5
+ __version__: str = '1.0.0'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xbot.plugins.pgsql
3
- Version: 0.2.2
3
+ Version: 1.0.0
4
4
  Summary: PostgreSQL library for xbot.framework
5
5
  Author-email: zhaowcheng <zhaowcheng@163.com>
6
6
  License-Expression: BSD-2-Clause
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.13
15
15
  Requires-Python: >=3.10
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: xbot.framework
18
+ Requires-Dist: xbot.framework<2,>=1
19
19
  Requires-Dist: psycopg[binary]<4,>=3
20
20
  Requires-Dist: cli_helpers
21
21
  Provides-Extra: dev
@@ -76,7 +76,7 @@ db.disconnect()
76
76
 
77
77
  ## Demo Project
78
78
 
79
- Here is a [demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v0.2.2/demo) project showing how to use `xbot.plugins.pgsql` in a test project.
79
+ Here is a [demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v1.0.0/demo) project showing how to use `xbot.plugins.pgsql` in a test project.
80
80
 
81
81
  ***
82
82
 
@@ -131,4 +131,4 @@ db.disconnect()
131
131
 
132
132
  ## 示例项目
133
133
 
134
- 展示如何在一个测试项目中使用本插件的示例:[demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v0.2.2/demo)
134
+ 展示如何在一个测试项目中使用本插件的示例:[demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v1.0.0/demo)
@@ -3,8 +3,6 @@ README.md
3
3
  README.zh.md
4
4
  pyproject.toml
5
5
  setup.py
6
- docs/superpowers/plans/2026-07-24-pgsql-library.md
7
- docs/superpowers/specs/2026-07-24-pgsql-library-design.md
8
6
  tests/__init__.py
9
7
  tests/run.py
10
8
  tests/test_pgsql.py
@@ -1,4 +1,4 @@
1
- xbot.framework
1
+ xbot.framework<2,>=1
2
2
  psycopg[binary]<4,>=3
3
3
  cli_helpers
4
4