Skip to content

Commit 67ab5a7

Browse files
authored
Merge pull request gitpython-developers#88 from hugovk/master
Add support for Python 3.12 and drop EOL 3.7
2 parents 8d92aba + 875acb4 commit 67ab5a7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/pythonpackage.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,17 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
18+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 1000
2424
- name: Set up Python ${{ matrix.python-version }}
2525
uses: actions/setup-python@v4
2626
with:
2727
python-version: ${{ matrix.python-version }}
28+
allow-prereleases: true
2829
- name: Install dependencies
2930
run: |
3031
python -m pip install --upgrade pip

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
zip_safe=False,
2323
install_requires=['smmap>=3.0.1,<6'],
2424
long_description="""GitDB is a pure-Python git object database""",
25-
python_requires='>=3.7',
25+
python_requires='>=3.8',
2626
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
2727
classifiers=[
2828
"Development Status :: 5 - Production/Stable",
@@ -35,11 +35,11 @@
3535
"Operating System :: MacOS :: MacOS X",
3636
"Programming Language :: Python",
3737
"Programming Language :: Python :: 3",
38-
"Programming Language :: Python :: 3.7",
3938
"Programming Language :: Python :: 3.8",
4039
"Programming Language :: Python :: 3.9",
4140
"Programming Language :: Python :: 3.10",
4241
"Programming Language :: Python :: 3.11",
42+
"Programming Language :: Python :: 3.12",
4343
"Programming Language :: Python :: 3 :: Only",
4444
]
4545
)

0 commit comments

Comments
 (0)