mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	Require Python 3.9
This commit is contained in:
		
							parent
							
								
									ecaf1fc770
								
							
						
					
					
						commit
						625dc11930
					
				
					 3 changed files with 7 additions and 5 deletions
				
			
		| 
						 | 
					@ -479,9 +479,11 @@ servergitmirrors:
 | 
				
			||||||
    - diff repo/index-v1.jar index-v1.jar
 | 
					    - diff repo/index-v1.jar index-v1.jar
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Build documentation:
 | 
					Build documentation:
 | 
				
			||||||
  image: python:3.9-buster
 | 
					  image: debian:bullseye
 | 
				
			||||||
 | 
					  <<: *apt-template
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - pip install -e .[docs]
 | 
					    - apt-get install python3-pip make
 | 
				
			||||||
 | 
					    - pip install .[docs]
 | 
				
			||||||
    - pydocstyle fdroidserver
 | 
					    - pydocstyle fdroidserver
 | 
				
			||||||
    - cd docs
 | 
					    - cd docs
 | 
				
			||||||
    - sphinx-apidoc -o ./source ../fdroidserver -M -e
 | 
					    - sphinx-apidoc -o ./source ../fdroidserver -M -e
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,10 +1,10 @@
 | 
				
			||||||
[tool.black]
 | 
					[tool.black]
 | 
				
			||||||
skip-string-normalization = true
 | 
					skip-string-normalization = true
 | 
				
			||||||
target-version = ["py35"]
 | 
					target-version = ["py39"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[tool.mypy]
 | 
					[tool.mypy]
 | 
				
			||||||
python_version = "3.5"
 | 
					python_version = "3.9"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
files = "fdroidserver"
 | 
					files = "fdroidserver"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.py
									
										
									
									
									
								
							| 
						 | 
					@ -94,7 +94,7 @@ setup(
 | 
				
			||||||
    scripts=['makebuildserver'],
 | 
					    scripts=['makebuildserver'],
 | 
				
			||||||
    entry_points={'console_scripts': ['fdroid=fdroidserver.__main__:main']},
 | 
					    entry_points={'console_scripts': ['fdroid=fdroidserver.__main__:main']},
 | 
				
			||||||
    data_files=get_data_files(),
 | 
					    data_files=get_data_files(),
 | 
				
			||||||
    python_requires='>=3.5',
 | 
					    python_requires='>=3.9',
 | 
				
			||||||
    cmdclass={
 | 
					    cmdclass={
 | 
				
			||||||
        'versioncheck': VersionCheckCommand,
 | 
					        'versioncheck': VersionCheckCommand,
 | 
				
			||||||
        'install': InstallWithCompile,
 | 
					        'install': InstallWithCompile,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue