Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzc committed Feb 18, 2025
1 parent 0d898fa commit 88ecd1d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 40 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: "3.12"
- name: Initialize build environment
run: |
python -m pip install -r requirements.txt
pip install --no-deps $(python -c "import tomllib; print(' '.join(tomllib.load(open('pyproject.toml', 'rb'))['build-system']['requires']))")
- name: Build pakage
env:
BOJ_CLI_NEXT_VERSION: ${{ needs.draft_release.outputs.tag_name }}
Expand Down
2 changes: 2 additions & 0 deletions boj/.tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python3 3.13.1
python 3.13.1
24 changes: 18 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name = "boj-cli"
authors = [{name="xvzc"}]
description = "Command line interface for BOJ"
readme = "README.md"
requires-python = ">=3.9,<=3.12.9"
dependencies = [
"beautifulsoup4==4.11.1",
"certifi==2022.12.7",
Expand All @@ -12,28 +13,39 @@ dependencies = [
"cryptography==39.0.0",
"idna==3.4",
"mdurl==0.1.2",
"selenium==4.23.0",
"selenium==4.28.1",
"msgpack==1.0.4",
"pycparser==2.21",
"chromedriver-autoinstaller==0.6.2",
"Pygments==2.14.0",
"requests==2.28.2",
"rich==13.2.0",
"dependency-injector==4.41.0",
"dependency-injector==4.45.0",
"six==1.16.0",
"soupsieve==2.3.2.post1",
"urllib3==1.26.14",
"websockets==10.4",
"PyYAML==5.3.1",
"webdriver_manager==4.0.2",
]
requires-python = ">=3.9"

[project.optional-dependencies]
dev = [
"pynvim",
"black",
"pytest",
"pytest-mock",
]
test = [
"pytest",
"pytest-mock",
]

[build-system]
requires = [
"setuptools==67.7.2",
"cffi==1.17.1",
"setuptools==75.8.0",
"requests==2.28.2",
"wheel==0.40.0",
"wheel==0.45.1",
]
build-backend = "setuptools.build_meta"

Expand Down
31 changes: 0 additions & 31 deletions requirements.txt

This file was deleted.

1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
cur_version = "0.0.0"

setup(version=cur_version)

0 comments on commit 88ecd1d

Please sign in to comment.