mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
Merge branch 'python_3.9' into 'master'
Require Python 3.9 Closes #1038 See merge request fdroid/fdroidserver!1224
This commit is contained in:
commit
7bd7e5c0db
@ -479,9 +479,11 @@ servergitmirrors:
|
||||
- diff repo/index-v1.jar index-v1.jar
|
||||
|
||||
Build documentation:
|
||||
image: python:3.9-buster
|
||||
image: debian:bullseye
|
||||
<<: *apt-template
|
||||
script:
|
||||
- pip install -e .[docs]
|
||||
- apt-get install python3-pip make
|
||||
- pip install .[docs]
|
||||
- pydocstyle fdroidserver
|
||||
- cd docs
|
||||
- sphinx-apidoc -o ./source ../fdroidserver -M -e
|
||||
|
@ -1,10 +1,10 @@
|
||||
[tool.black]
|
||||
skip-string-normalization = true
|
||||
target-version = ["py35"]
|
||||
target-version = ["py39"]
|
||||
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.5"
|
||||
python_version = "3.9"
|
||||
|
||||
files = "fdroidserver"
|
||||
|
||||
|
2
setup.py
2
setup.py
@ -94,7 +94,7 @@ setup(
|
||||
scripts=['makebuildserver'],
|
||||
entry_points={'console_scripts': ['fdroid=fdroidserver.__main__:main']},
|
||||
data_files=get_data_files(),
|
||||
python_requires='>=3.5',
|
||||
python_requires='>=3.9',
|
||||
cmdclass={
|
||||
'versioncheck': VersionCheckCommand,
|
||||
'install': InstallWithCompile,
|
||||
|
Loading…
Reference in New Issue
Block a user