Skip to content

Commit

Permalink
Sync with template
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Sep 16, 2024
1 parent 459736b commit 1b5a89f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: 2024.1.1-203-g7761e8b
_commit: 2024.1.1-209-g114889c
_src_path: gh:blakeNaccarato/copier-python
actions_runner: ubuntu-22.04
active: false
Expand Down
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ requires-python = ">=3.11"
classifiers = [
"License :: OSI Approved :: MIT License",
# ? Also in CI (https://github.com/actions/python-versions/releases)
# "Programming Language :: Python :: 3.7", # ? EOL (https://devguide.python.org/versions/)
# "Programming Language :: Python :: 3.8", # ? EOL soon (https://devguide.python.org/versions/)
# "Programming Language :: Python :: 3.9", # ? `sphinx-autobuild` broken even when pointing to fix (https://github.com/sphinx-doc/sphinx-autobuild/issues/166)
# "Programming Language :: Python :: 3.10", # ? Using some 3.11-specific features
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
# "Programming Language :: Python :: 3.13", # ? (via myst-nb) https://github.com/crate-py/rpds/issues/72
# "Programming Language :: Python :: 3.14", # ? Unreleased (https://peps.python.org/pep-0745)
# "Programming Language :: Python :: 3.14", # ? Not yet beta (https://peps.python.org/pep-0745)
]
dependencies = []
[project.urls]
Expand Down
1 change: 0 additions & 1 deletion requirements/build.txt

This file was deleted.

4 changes: 1 addition & 3 deletions scripts/Common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ function Sync-Uv {
$Sep = $IsWindows ? ';' : ':'
$Env:PATH = "$(Get-Item 'bin')$Sep$Env:PATH"
$EnvFile = $Env:GITHUB_ENV ? $Env:GITHUB_ENV : '.env'
if ($Env:CI) {
("PATH=$Env:PATH", "UV_TOOL_BIN_DIR=$Bin") | Add-Content $EnvFile
}
if ($Env:CI) { ("PATH=$Env:PATH", "UV_TOOL_BIN_DIR=$Bin") | Add-Content $EnvFile }
# ? Install `uv`
if ((!$Uv -or !(& $Uv --version | Select-String $Version))) {
'Installing uv' | Write-Progress
Expand Down
2 changes: 1 addition & 1 deletion scripts/Sync-Template.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Param(
)
begin {
. scripts/Initialize-Shell.ps1
$Copier = 'copier@9.2.0'
$Template = 'submodules/template'
$Copier = 'copier@9.2.0'
}
process {
if (($Template | Test-Path) -and !$Stay) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/context_models_tools/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from typing import Literal, TypeAlias, TypedDict

PythonVersion: TypeAlias = Literal["3.9", "3.10", "3.11", "3.12"]
PythonVersion: TypeAlias = Literal["3.11", "3.12", "3.13", "3.14"]
"""Python version."""
SubmoduleInfoKind = Literal["paths", "urls"]
"""Submodule info kind."""
Expand Down

0 comments on commit 1b5a89f

Please sign in to comment.