1password-secrets 0.0.1.dev247__tar.gz → 0.0.1.dev251__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. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/1password_secrets.egg-info/PKG-INFO +3 -8
  2. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/PKG-INFO +3 -8
  3. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/README.md +1 -1
  4. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/commands.py +2 -2
  5. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/op.py +2 -2
  6. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/prompts.py +2 -2
  7. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/pyproject.toml +1 -0
  8. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/setup.py +1 -6
  9. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/1password_secrets.egg-info/SOURCES.txt +0 -0
  10. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/1password_secrets.egg-info/dependency_links.txt +0 -0
  11. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/1password_secrets.egg-info/entry_points.txt +0 -0
  12. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/1password_secrets.egg-info/requires.txt +0 -0
  13. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/1password_secrets.egg-info/top_level.txt +0 -0
  14. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/__init__.py +0 -0
  15. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/__main__.py +0 -0
  16. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/cli.py +0 -0
  17. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/constants.py +0 -0
  18. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/envs.py +0 -0
  19. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/errors.py +0 -0
  20. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/fly.py +0 -0
  21. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/git.py +0 -0
  22. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/logs.py +0 -0
  23. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/onepassword_secrets/utils.py +0 -0
  24. {1password_secrets-0.0.1.dev247 → 1password_secrets-0.0.1.dev251}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: 1password-secrets
3
- Version: 0.0.1.dev247
3
+ Version: 0.0.1.dev251
4
4
  Summary: 1password-secrets is a set of utilities to sync 1password secrets.
5
5
  Home-page: https://github.com/significa/fly-1password-secrets
6
6
  Author: Significa
@@ -11,12 +11,7 @@ Classifier: Environment :: Console
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: Topic :: Utilities
13
13
  Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3.13
18
- Classifier: Programming Language :: Python :: 3.14
19
- Requires-Python: >=3.10
14
+ Requires-Python: >=3.11
20
15
  Description-Content-Type: text/markdown
21
16
  Requires-Dist: python-dotenv==1.2.4
22
17
  Requires-Dist: requests==2.34.2
@@ -75,7 +70,7 @@ the access control in a centralised place that we already use.
75
70
  Minimum supported versions:
76
71
  1Password >= `8.9.13`
77
72
  1Password CLI >= `2.13.1`
78
- Python >= `3.10`
73
+ Python >= `3.11`
79
74
  flyctl >= `0.0.451` (optional)
80
75
 
81
76
  More information and installation instructions for other systems can be found
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: 1password-secrets
3
- Version: 0.0.1.dev247
3
+ Version: 0.0.1.dev251
4
4
  Summary: 1password-secrets is a set of utilities to sync 1password secrets.
5
5
  Home-page: https://github.com/significa/fly-1password-secrets
6
6
  Author: Significa
@@ -11,12 +11,7 @@ Classifier: Environment :: Console
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: Topic :: Utilities
13
13
  Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3.13
18
- Classifier: Programming Language :: Python :: 3.14
19
- Requires-Python: >=3.10
14
+ Requires-Python: >=3.11
20
15
  Description-Content-Type: text/markdown
21
16
  Requires-Dist: python-dotenv==1.2.4
22
17
  Requires-Dist: requests==2.34.2
@@ -75,7 +70,7 @@ the access control in a centralised place that we already use.
75
70
  Minimum supported versions:
76
71
  1Password >= `8.9.13`
77
72
  1Password CLI >= `2.13.1`
78
- Python >= `3.10`
73
+ Python >= `3.11`
79
74
  flyctl >= `0.0.451` (optional)
80
75
 
81
76
  More information and installation instructions for other systems can be found
@@ -40,7 +40,7 @@ the access control in a centralised place that we already use.
40
40
  Minimum supported versions:
41
41
  1Password >= `8.9.13`
42
42
  1Password CLI >= `2.13.1`
43
- Python >= `3.10`
43
+ Python >= `3.11`
44
44
  flyctl >= `0.0.451` (optional)
45
45
 
46
46
  More information and installation instructions for other systems can be found
@@ -3,7 +3,7 @@
3
3
  import json
4
4
  import os
5
5
  import subprocess
6
- from datetime import datetime, timezone
6
+ from datetime import UTC, datetime
7
7
  from tempfile import NamedTemporaryFile
8
8
 
9
9
  from rich.panel import Panel
@@ -35,7 +35,7 @@ def import_1password_secrets_to_fly(app_id, vault=None):
35
35
 
36
36
  update_fly_secrets(app_id, secrets)
37
37
 
38
- now_formatted = datetime.now(tz=timezone.utc).strftime(DATE_FORMAT)
38
+ now_formatted = datetime.now(tz=UTC).strftime(DATE_FORMAT)
39
39
  update_1password_custom_field(item_id, "last imported at", now_formatted, vault=vault)
40
40
 
41
41
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  import json
4
4
  import subprocess
5
- from datetime import datetime, timezone
5
+ from datetime import UTC, datetime
6
6
 
7
7
  from .constants import (
8
8
  DATE_FORMAT,
@@ -47,7 +47,7 @@ def make_1password_custom_field_cli_argument(field_name, value):
47
47
 
48
48
 
49
49
  def make_last_edited_1password_custom_field_cli_argument():
50
- now_formatted = datetime.now(tz=timezone.utc).strftime(DATE_FORMAT)
50
+ now_formatted = datetime.now(tz=UTC).strftime(DATE_FORMAT)
51
51
 
52
52
  return make_1password_custom_field_cli_argument(
53
53
  field_name="last edited at",
@@ -1,4 +1,4 @@
1
- from enum import Enum
1
+ from enum import StrEnum
2
2
 
3
3
  import inquirer
4
4
  from rich.table import Table
@@ -24,7 +24,7 @@ def boolean_prompt(prompt: str, default: bool = False) -> bool:
24
24
  return answers["confirm"]
25
25
 
26
26
 
27
- class SecretDiff(str, Enum):
27
+ class SecretDiff(StrEnum):
28
28
  """Outcome of comparing two raw env file contents."""
29
29
 
30
30
  CHANGED = "changed"
@@ -1,5 +1,6 @@
1
1
  [tool.ruff]
2
2
  line-length = 100
3
+ target-version = "py311"
3
4
  indent-width = 4
4
5
 
5
6
  [tool.ruff.format]
@@ -13,7 +13,7 @@ print(f"Publishing version {version}")
13
13
 
14
14
  setup(
15
15
  name="1password-secrets",
16
- python_requires=">=3.10",
16
+ python_requires=">=3.11",
17
17
  version=version,
18
18
  description="1password-secrets is a set of utilities to sync 1password secrets.",
19
19
  long_description=long_description,
@@ -33,10 +33,5 @@ setup(
33
33
  "Intended Audience :: Developers",
34
34
  "Topic :: Utilities",
35
35
  "Programming Language :: Python :: 3",
36
- "Programming Language :: Python :: 3.10",
37
- "Programming Language :: Python :: 3.11",
38
- "Programming Language :: Python :: 3.12",
39
- "Programming Language :: Python :: 3.13",
40
- "Programming Language :: Python :: 3.14",
41
36
  ],
42
37
  )