create-awesome-python-app 0.2.4__tar.gz → 0.2.5__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 (20) hide show
  1. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/PKG-INFO +2 -2
  2. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/pyproject.toml +2 -2
  3. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/src/create_awesome_python_app/__init__.py +1 -1
  4. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/tests/test_catalog_resolve.py +6 -3
  5. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/tests/test_cpa_templates_integration.py +3 -3
  6. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/.gitignore +0 -0
  7. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/README.md +0 -0
  8. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/assets/hero.svg +0 -0
  9. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/src/create_awesome_python_app/cache.py +0 -0
  10. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/src/create_awesome_python_app/catalog.py +0 -0
  11. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/src/create_awesome_python_app/cli.py +0 -0
  12. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/src/create_awesome_python_app/prompt_style.py +0 -0
  13. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/tests/test_cache_cmds.py +0 -0
  14. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/tests/test_cache_env.py +0 -0
  15. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/tests/test_catalog.py +0 -0
  16. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/tests/test_catalog_fetch.py +0 -0
  17. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/tests/test_cli.py +0 -0
  18. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/tests/test_flags.py +0 -0
  19. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/tests/test_interactive.py +0 -0
  20. {create_awesome_python_app-0.2.4 → create_awesome_python_app-0.2.5}/tests/test_smoke.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: create-awesome-python-app
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: Composable scaffolding CLI for production-ready Python apps
5
5
  Project-URL: Homepage, https://github.com/Create-Python-App/create-python-app
6
6
  Project-URL: Repository, https://github.com/Create-Python-App/create-python-app
@@ -8,7 +8,7 @@ Project-URL: Issues, https://github.com/Create-Python-App/create-python-app/issu
8
8
  Project-URL: Changelog, https://github.com/Create-Python-App/create-python-app/blob/main/CHANGELOG.md
9
9
  License-Expression: MIT
10
10
  Requires-Python: >=3.12
11
- Requires-Dist: create-python-app-core>=0.2.4
11
+ Requires-Dist: create-python-app-core>=0.2.5
12
12
  Requires-Dist: questionary>=2.1.1
13
13
  Requires-Dist: rich>=15.0.0
14
14
  Requires-Dist: typer>=0.27.0
@@ -1,12 +1,12 @@
1
1
  [project]
2
2
  name = "create-awesome-python-app"
3
- version = "0.2.4"
3
+ version = "0.2.5"
4
4
  description = "Composable scaffolding CLI for production-ready Python apps"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
7
7
  license = "MIT"
8
8
  dependencies = [
9
- "create-python-app-core>=0.2.4",
9
+ "create-python-app-core>=0.2.5",
10
10
  "questionary>=2.1.1",
11
11
  "rich>=15.0.0",
12
12
  "typer>=0.27.0",
@@ -1,3 +1,3 @@
1
1
  """Create Awesome Python App CLI."""
2
2
 
3
- __version__ = "0.2.4"
3
+ __version__ = "0.2.5"
@@ -32,7 +32,7 @@ SAMPLE_CATALOG = {
32
32
  "extensions": [
33
33
  {
34
34
  "slug": "github-setup",
35
- "url": "https://github.com/Create-Python-App/cpa-templates?subdir=extensions/github-setup",
35
+ "url": "https://github.com/Create-Python-App/cpa-templates?subdir=extensions/all-github-setup",
36
36
  }
37
37
  ],
38
38
  }
@@ -258,10 +258,13 @@ def test_validate_extension_compatibility_ok() -> None:
258
258
  "url": "file:///ext/github",
259
259
  "incompatibleWith": ["other"],
260
260
  },
261
- {"slug": "python-docker", "url": "file:///ext/docker"},
261
+ {"slug": "fastapi-docker", "url": "file:///ext/docker"},
262
262
  ]
263
263
  }
264
- validate_extension_compatibility(["github-setup", "python-docker"], catalog=catalog)
264
+ validate_extension_compatibility(
265
+ ["github-setup", "fastapi-docker"],
266
+ catalog=catalog,
267
+ )
265
268
 
266
269
 
267
270
  def test_validate_extension_compatibility_fails_on_pair() -> None:
@@ -14,7 +14,7 @@ CPA_TEMPLATES_ROOT = Path(
14
14
  os.environ.get("CPA_TEMPLATES_ROOT", str(_DEFAULT_CPA_TEMPLATES))
15
15
  ).resolve()
16
16
  FASTAPI_TEMPLATE = CPA_TEMPLATES_ROOT / "templates" / "fastapi-starter"
17
- GITHUB_SETUP = CPA_TEMPLATES_ROOT / "extensions" / "github-setup"
17
+ GITHUB_SETUP = CPA_TEMPLATES_ROOT / "extensions" / "all-github-setup"
18
18
 
19
19
 
20
20
  def _cpa_templates_available() -> bool:
@@ -143,7 +143,7 @@ def test_scaffold_via_catalog_addon_slug(
143
143
  "extensions": [
144
144
  {
145
145
  "slug": "github-setup",
146
- "url": f"file://{repo}?subdir=extensions/github-setup",
146
+ "url": f"file://{repo}?subdir=extensions/all-github-setup",
147
147
  }
148
148
  ],
149
149
  "categories": [],
@@ -196,7 +196,7 @@ def test_scaffold_fastapi_with_github_setup_extension(
196
196
  "--template",
197
197
  f"file://{repo}?subdir=templates/fastapi-starter",
198
198
  "--addons",
199
- f"file://{repo}?subdir=extensions/github-setup",
199
+ f"file://{repo}?subdir=extensions/all-github-setup",
200
200
  "--no-interactive",
201
201
  "--no-install",
202
202
  str(dest),