wexample-wex-addon-dev-flutter 6.6.0__tar.gz → 6.7.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.
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/PKG-INFO +8 -8
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/README.md +4 -4
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/pyproject.toml +4 -4
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/file/flutter_pubspec_yaml_file.py +4 -3
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/workdir/flutter_packages_suite_workdir.py +1 -1
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/workdir/flutter_workdir.py +4 -6
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/__init__.py +0 -0
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/__pycache__/__init__.py +0 -0
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/config_value/__init__.py +0 -0
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/config_value/flutter_package_readme_config_value.py +0 -0
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/file/__init__.py +0 -0
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/flutter_addon_manager.py +0 -0
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/py.typed +0 -0
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/workdir/__init__.py +0 -0
- {wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/src/wexample_wex_addon_dev_flutter/workdir/flutter_package_workdir.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wexample-wex-addon-dev-flutter
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.7.0
|
|
4
4
|
Summary: Python dev addon for wex
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -11,9 +11,9 @@ Project-URL: homepage, https://github.com/wexample/python-wex-dev-python
|
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Requires-Dist: attrs>=23.1.0
|
|
13
13
|
Requires-Dist: cattrs>=23.1.0
|
|
14
|
-
Requires-Dist: wexample-filestate-flutter>=6.
|
|
15
|
-
Requires-Dist: wexample-wex-addon-ai>=11.
|
|
16
|
-
Requires-Dist: wexample-wex-addon-app>=
|
|
14
|
+
Requires-Dist: wexample-filestate-flutter>=6.6.0
|
|
15
|
+
Requires-Dist: wexample-wex-addon-ai>=11.2.0
|
|
16
|
+
Requires-Dist: wexample-wex-addon-app>=26.0.0
|
|
17
17
|
Provides-Extra: dev
|
|
18
18
|
Requires-Dist: pytest; extra == "dev"
|
|
19
19
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
@@ -21,7 +21,7 @@ Description-Content-Type: text/markdown
|
|
|
21
21
|
|
|
22
22
|
# wex_addon_dev_flutter
|
|
23
23
|
|
|
24
|
-
Version: 6.
|
|
24
|
+
Version: 6.7.0
|
|
25
25
|
|
|
26
26
|
Python dev addon for wex
|
|
27
27
|
|
|
@@ -103,9 +103,9 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
103
103
|
|
|
104
104
|
- attrs: >=23.1.0
|
|
105
105
|
- cattrs: >=23.1.0
|
|
106
|
-
- wexample-filestate-flutter: >=6.
|
|
107
|
-
- wexample-wex-addon-ai: >=11.
|
|
108
|
-
- wexample-wex-addon-app: >=
|
|
106
|
+
- wexample-filestate-flutter: >=6.6.0
|
|
107
|
+
- wexample-wex-addon-ai: >=11.2.0
|
|
108
|
+
- wexample-wex-addon-app: >=26.0.0
|
|
109
109
|
|
|
110
110
|
## Versioning & Compatibility Policy
|
|
111
111
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# wex_addon_dev_flutter
|
|
2
2
|
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.7.0
|
|
4
4
|
|
|
5
5
|
Python dev addon for wex
|
|
6
6
|
|
|
@@ -82,9 +82,9 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
82
82
|
|
|
83
83
|
- attrs: >=23.1.0
|
|
84
84
|
- cattrs: >=23.1.0
|
|
85
|
-
- wexample-filestate-flutter: >=6.
|
|
86
|
-
- wexample-wex-addon-ai: >=11.
|
|
87
|
-
- wexample-wex-addon-app: >=
|
|
85
|
+
- wexample-filestate-flutter: >=6.6.0
|
|
86
|
+
- wexample-wex-addon-ai: >=11.2.0
|
|
87
|
+
- wexample-wex-addon-app: >=26.0.0
|
|
88
88
|
|
|
89
89
|
## Versioning & Compatibility Policy
|
|
90
90
|
|
{wexample_wex_addon_dev_flutter-6.6.0 → wexample_wex_addon_dev_flutter-6.7.0}/pyproject.toml
RENAMED
|
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "wexample-wex-addon-dev-flutter"
|
|
9
|
-
version = "6.
|
|
9
|
+
version = "6.7.0"
|
|
10
10
|
description = "Python dev addon for wex"
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "weeger", email = "contact@wexample.com" },
|
|
@@ -20,9 +20,9 @@ classifiers = [
|
|
|
20
20
|
dependencies = [
|
|
21
21
|
"attrs>=23.1.0",
|
|
22
22
|
"cattrs>=23.1.0",
|
|
23
|
-
"wexample-filestate-flutter>=6.
|
|
24
|
-
"wexample-wex-addon-ai>=11.
|
|
25
|
-
"wexample-wex-addon-app>=
|
|
23
|
+
"wexample-filestate-flutter>=6.6.0",
|
|
24
|
+
"wexample-wex-addon-ai>=11.2.0",
|
|
25
|
+
"wexample-wex-addon-app>=26.0.0",
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.readme]
|
|
@@ -51,13 +51,14 @@ class FlutterPubspecYamlFile(YamlFile):
|
|
|
51
51
|
# Use to_dict_or_none() (not get_dict_or_default) so nested ConfigValue
|
|
52
52
|
# wrappers are unwrapped to native str — matches the dict[str, str] signature.
|
|
53
53
|
dependencies = config.search(path="dependencies").to_dict_or_none() or {}
|
|
54
|
-
dev_dependencies = (
|
|
55
|
-
config.search(path="dev_dependencies").to_dict_or_none() or {}
|
|
56
|
-
)
|
|
57
54
|
|
|
58
55
|
merged = dict(dependencies)
|
|
59
56
|
|
|
60
57
|
if group == "dev":
|
|
58
|
+
# Defer dev_dependencies lookup to only when it's actually needed.
|
|
59
|
+
dev_dependencies = (
|
|
60
|
+
config.search(path="dev_dependencies").to_dict_or_none() or {}
|
|
61
|
+
)
|
|
61
62
|
merged.update(dev_dependencies)
|
|
62
63
|
|
|
63
64
|
return merged
|
|
@@ -14,7 +14,7 @@ if TYPE_CHECKING:
|
|
|
14
14
|
|
|
15
15
|
class FlutterPackagesSuiteWorkdir(FrameworkPackageSuiteWorkdir):
|
|
16
16
|
def _child_is_package_directory(self, entry: Path) -> bool:
|
|
17
|
-
return
|
|
17
|
+
return (entry / "pubspec.yaml").is_file()
|
|
18
18
|
|
|
19
19
|
def _get_children_package_directory_name(self) -> str:
|
|
20
20
|
return "flutter"
|
|
@@ -50,11 +50,7 @@ class FlutterWorkdir(WithAiWorkdirMixin, WithLicenseWorkdirMixin, CodeBaseWorkdi
|
|
|
50
50
|
|
|
51
51
|
options = super().get_options_providers()
|
|
52
52
|
|
|
53
|
-
options.
|
|
54
|
-
[
|
|
55
|
-
FlutterOptionsProvider,
|
|
56
|
-
]
|
|
57
|
-
)
|
|
53
|
+
options.append(FlutterOptionsProvider)
|
|
58
54
|
|
|
59
55
|
return options
|
|
60
56
|
|
|
@@ -149,7 +145,9 @@ class FlutterWorkdir(WithAiWorkdirMixin, WithLicenseWorkdirMixin, CodeBaseWorkdi
|
|
|
149
145
|
|
|
150
146
|
self._safe_shell(["flutter", "pub", "publish", "--dry-run"], cwd)
|
|
151
147
|
|
|
152
|
-
publish_cmd = ["flutter", "pub", "publish"]
|
|
148
|
+
publish_cmd = ["flutter", "pub", "publish"]
|
|
149
|
+
if force:
|
|
150
|
+
publish_cmd.append("--force")
|
|
153
151
|
self._safe_shell(publish_cmd, cwd)
|
|
154
152
|
|
|
155
153
|
def _safe_shell(self, cmd, cwd) -> None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|