Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
],
"__library_name": "{{ cookiecutter.git_repo_name.lower().replace(' ', '_').replace('-', '_') }}",
"minimum_python_version": [
"3.9",
"3.10",
"3.11",
"3.12",
Expand All @@ -27,7 +26,7 @@
"uv",
"pip"
],
"use_requests": [
"use_niquests": [
"n",
"y"
],
Expand All @@ -48,7 +47,7 @@
"https"
],
"__template_repo": "https://github.com/btr1975/cookiecutter-python-library",
"__template_version": "2.0.4",
"__template_version": "2.0.5",
"_new_lines": "\n",
"_copy_without_render": [
".github"
Expand All @@ -73,7 +72,6 @@
},
"minimum_python_version": {
"__prompt__": "Which minimum Python version will be supported",
"3.9": "3.9",
"3.10": "3.10",
"3.11": "3.11",
"3.12": "3.12",
Expand All @@ -85,8 +83,8 @@
"uv": "UV By Astral",
"pip": "PIP (The built in Python Package Installer)"
},
"use_requests": {
"__prompt__": "Will you use the requests library",
"use_niquests": {
"__prompt__": "Will you use the niquests library",
"n": "No",
"y": "Yes"
},
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
name = "cookiecutter-python-library"
version = "2.0.3"
dynamic = ["readme"]
requires-python = ">=3.9"
requires-python = ">=3.10"
description = "A cookiecutter for a python library"
keywords = [
]
Expand All @@ -34,7 +34,6 @@ classifiers = [
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -44,6 +43,7 @@ classifiers = [

dependencies = [
"cookiecutter~=2.6.0",
"urllib3>=2.6.0",
]

[dependency-groups]
Expand Down
203 changes: 13 additions & 190 deletions requirements-dev.txt

Large diffs are not rendered by default.

60 changes: 9 additions & 51 deletions requirements.txt

Large diffs are not rendered by default.

311 changes: 21 additions & 290 deletions uv.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
Expand Down Expand Up @@ -53,7 +52,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
Expand Down Expand Up @@ -84,7 +82,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
Expand Down Expand Up @@ -58,7 +57,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
Expand Down Expand Up @@ -92,7 +90,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
Expand Down
9 changes: 1 addition & 8 deletions {{cookiecutter.git_repo_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ classifiers = [
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
{% if cookiecutter.minimum_python_version == '3.9' %}"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",{% endif -%}
{% if cookiecutter.minimum_python_version == '3.10' %}"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -64,7 +58,7 @@ classifiers = [

{% if cookiecutter.package_manager == 'uv' %}
dependencies = [
{% if cookiecutter.use_requests == 'y' %}"requests",{% endif %}
{% if cookiecutter.use_niquests == 'y' %}"niquests",{% endif %}
{% if cookiecutter.use_pydantic == 'y' %}"pydantic",{% endif %}
]

Expand All @@ -80,7 +74,6 @@ dev = [
"sphinxcontrib-mermaid",
"bandit",
"mypy",
{% if cookiecutter.use_requests == 'y' %}"requests-mock",{% endif %}
]
{% endif %}

Expand Down
1 change: 0 additions & 1 deletion {{cookiecutter.git_repo_name}}/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ sphinxcontrib-mermaid
twine
bandit
mypy
{% if cookiecutter.use_requests == 'y' %}requests-mock{% endif %}
2 changes: 1 addition & 1 deletion {{cookiecutter.git_repo_name}}/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# These are the libraries required to run your app
# They DO NOT include libraries needed to develop or test our app
#
{% if cookiecutter.use_requests == 'y' %}requests{% endif %}
{% if cookiecutter.use_niquests == 'y' %}niquests{% endif %}
{% if cookiecutter.use_pydantic == 'y' %}pydantic{% endif %}