Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump python version and remove toml dependency #8

Merged
merged 1 commit into from
Aug 1, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/pythonapp-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: 'pip'
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12
3.12
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = 'python-app'
description = 'Python application template for personal use'
license = {text = 'MIT License'}
readme = 'README.md'
requires-python = '>=3.8'
requires-python = '>=3.11'
classifiers = [
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
Expand All @@ -13,7 +13,6 @@ dynamic = ['version']
dependencies = [
'structlog',
'rich',
'toml'
]

[project.optional-dependencies]
Expand All @@ -24,7 +23,6 @@ dev = [
'pre-commit',
'pytest',
'ruff',
'types-toml',
]

[project.entry-points.'console_scripts']
Expand All @@ -39,7 +37,7 @@ packages = ['hello_world']

[tool.hello_world]
# to write json-formatted logs to disk, uncomment the following line specify the file location
# log_file = '/Users/becky/logs/hello_world.log'
# log_file = '/path/to/logs/files/hello_world.log'

[tool.ruff]
line-length = 120
Expand Down
17 changes: 4 additions & 13 deletions requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --extra=dev --output-file=requirements/requirements-dev.txt
#
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml --extra dev -o requirements/requirements-dev.txt
cfgv==3.4.0
# via pre-commit
coverage==7.5.1
Expand Down Expand Up @@ -48,18 +44,13 @@ rich==13.7.1
# via python-app (pyproject.toml)
ruff==0.4.3
# via python-app (pyproject.toml)
setuptools==72.1.0
# via nodeenv
six==1.16.0
# via python-dateutil
structlog==24.1.0
# via python-app (pyproject.toml)
toml==0.10.2
# via python-app (pyproject.toml)
types-toml==0.10.8.20240310
# via python-app (pyproject.toml)
typing-extensions==4.11.0
# via mypy
virtualenv==20.26.1
# via pre-commit

# The following packages are considered to be unsafe in a requirements file:
# setuptools
10 changes: 2 additions & 8 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --output-file=requirements/requirements.txt
#
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml -o requirements/requirements.txt
markdown-it-py==3.0.0
# via rich
mdurl==0.1.2
Expand All @@ -14,5 +10,3 @@ rich==13.7.1
# via python-app (pyproject.toml)
structlog==24.1.0
# via python-app (pyproject.toml)
toml==0.10.2
# via python-app (pyproject.toml)