Skip to content

Commit

Permalink
Merge pull request #240 from pistachiostudio/feature/python-312
Browse files Browse the repository at this point in the history
Python 3.12 対応
  • Loading branch information
zztkm authored Jan 6, 2025
2 parents bff798b + 14f2b04 commit 18ef508
Show file tree
Hide file tree
Showing 7 changed files with 363 additions and 119 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
name: Python ${{ matrix.python-version }} on ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
env:
USING_COVERAGE: "3.11"
USING_COVERAGE: "3.12"

strategy:
matrix:
platform: [ubuntu-latest]
python-version: ["3.11"]
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11.3
3.12.8
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 変更履歴

- CHANGE
- 後方互換性のない変更
- UPDATE
- 後方互換性がある変更
- ADD
- 後方互換性がある追加
- FIX
- バグ修正

## main

- [UPDATE] Python 3.12 にバージョンアップする
- `rye sync --update-all` で依存関係を更新
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim as runtime
FROM python:3.12-slim as runtime

COPY requirements.lock ./
RUN sed '/-e/d' requirements.lock > requirements.txt
Expand Down
254 changes: 189 additions & 65 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,86 +5,210 @@
# pre: false
# features: []
# all-features: false
# with-sources: false
# generate-hashes: false
# universal: false

-e file:.
aiohttp==3.8.4
aiosignal==1.3.1
anyio==3.7.0
appdirs==1.4.4
async-timeout==4.0.2
attrs==23.1.0
beautifulsoup4==4.12.2
cachetools==5.3.1
certifi==2023.5.7
cffi==1.15.1
cfgv==3.3.1
chardet==5.1.0
charset-normalizer==3.1.0
aiohappyeyeballs==2.4.4
# via aiohttp
aiohttp==3.11.11
# via discord-py
aiosignal==1.3.2
# via aiohttp
anyio==4.7.0
# via httpx
attrs==24.3.0
# via aiohttp
beautifulsoup4==4.12.3
# via takohachi
# via yfinance
cachetools==5.5.0
# via google-auth
# via tox
certifi==2024.12.14
# via httpcore
# via httpx
# via requests
cffi==1.17.1
# via cryptography
# via pynacl
cfgv==3.4.0
# via pre-commit
chardet==5.2.0
# via tox
charset-normalizer==3.4.1
# via requests
colorama==0.4.6
cryptography==41.0.1
discord-py==2.3.1
distlib==0.3.6
filelock==3.12.0
frozendict==2.4.0
frozenlist==1.3.3
google-api-core==2.11.0
google-api-python-client==2.88.0
google-auth==2.19.1
google-auth-httplib2==0.1.0
google-auth-oauthlib==1.0.0
googleapis-common-protos==1.59.0
gspread==5.12.3
# via tox
cryptography==44.0.0
# via pyopenssl
discord-py==2.3.2
# via takohachi
distlib==0.3.9
# via virtualenv
filelock==3.16.1
# via tox
# via virtualenv
frozendict==2.4.6
# via yfinance
frozenlist==1.5.0
# via aiohttp
# via aiosignal
google-api-core==2.24.0
# via google-api-python-client
google-api-python-client==2.157.0
# via pydrive2
google-auth==2.37.0
# via google-api-core
# via google-api-python-client
# via google-auth-httplib2
# via google-auth-oauthlib
# via gspread
google-auth-httplib2==0.2.0
# via google-api-python-client
google-auth-oauthlib==1.2.1
# via gspread
googleapis-common-protos==1.66.0
# via google-api-core
gspread==5.12.4
# via takohachi
h11==0.14.0
# via httpcore
html5lib==1.1
httpcore==1.0.2
# via yfinance
httpcore==1.0.7
# via httpx
httplib2==0.22.0
# via google-api-python-client
# via google-auth-httplib2
# via oauth2client
httpx==0.26.0
identify==2.5.24
idna==3.4
# via takohachi
identify==2.6.5
# via pre-commit
idna==3.10
# via anyio
# via httpx
# via requests
# via yarl
iniconfig==2.0.0
lxml==5.1.0
multidict==6.0.4
# via pytest
lxml==5.3.0
# via yfinance
multidict==6.1.0
# via aiohttp
# via yarl
multitasking==0.0.11
nodeenv==1.8.0
numpy==1.26.3
# via yfinance
nodeenv==1.9.1
# via pre-commit
numpy==2.2.1
# via pandas
# via yfinance
oauth2client==4.1.3
# via pydrive2
# via takohachi
oauthlib==3.2.2
packaging==23.1
pandas==2.2.0
peewee==3.17.0
platformdirs==3.5.1
pluggy==1.0.0
pre-commit==3.3.2
protobuf==4.23.2
pyasn1==0.5.0
pyasn1-modules==0.3.0
pycparser==2.21
# via requests-oauthlib
packaging==24.2
# via pyproject-api
# via pytest
# via tox
pandas==2.2.3
# via yfinance
peewee==3.17.8
# via yfinance
platformdirs==4.3.6
# via tox
# via virtualenv
# via yfinance
pluggy==1.5.0
# via pytest
# via tox
pre-commit==3.3.3
propcache==0.2.1
# via aiohttp
# via yarl
proto-plus==1.25.0
# via google-api-core
protobuf==5.29.2
# via google-api-core
# via googleapis-common-protos
# via proto-plus
pyasn1==0.6.1
# via oauth2client
# via pyasn1-modules
# via rsa
pyasn1-modules==0.4.1
# via google-auth
# via oauth2client
pycparser==2.22
# via cffi
pydrive2==1.18.1
# via takohachi
pynacl==1.5.0
pyopenssl==23.2.0
pyparsing==3.0.9
pyproject-api==1.5.1
pytest==7.3.1
python-dateutil==2.8.2
pytz==2023.4
pyyaml==6.0
redis==4.5.5
# via discord-py
pyopenssl==24.3.0
# via pydrive2
pyparsing==3.2.1
# via httplib2
pyproject-api==1.8.0
# via tox
pytest==7.3.2
python-dateutil==2.9.0.post0
# via pandas
pytz==2024.2
# via pandas
# via yfinance
pyyaml==6.0.2
# via pre-commit
# via pydrive2
redis==5.2.1
# via spotipy
requests==2.31.0
requests-oauthlib==1.3.1
# via google-api-core
# via requests-oauthlib
# via spotipy
# via takohachi
# via yfinance
requests-oauthlib==2.0.0
# via google-auth-oauthlib
rsa==4.9
six==1.16.0
sniffio==1.3.0
soupsieve==2.4.1
# via google-auth
# via oauth2client
six==1.17.0
# via html5lib
# via oauth2client
# via python-dateutil
# via spotipy
sniffio==1.3.1
# via anyio
# via httpx
soupsieve==2.6
# via beautifulsoup4
spotipy==2.23.0
tenacity==8.2.2
tox==4.6.0
tox-gh==1.2.0
tzdata==2023.4
# via takohachi
tenacity==8.2.3
# via takohachi
tox==4.6.4
# via tox-gh
tox-gh==1.3.1
typing-extensions==4.12.2
# via anyio
tzdata==2024.2
# via pandas
uritemplate==4.1.1
urllib3==1.26.16
virtualenv==20.23.0
# via google-api-python-client
urllib3==2.3.0
# via requests
# via spotipy
virtualenv==20.28.1
# via pre-commit
# via tox
webencodings==0.5.1
yarl==1.9.2
yfinance==0.2.36
# The following packages are considered to be unsafe in a requirements file:
setuptools==67.8.0
# via html5lib
yarl==1.18.3
# via aiohttp
yfinance==0.2.51
# via takohachi
Loading

0 comments on commit 18ef508

Please sign in to comment.