mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 01:47:36 +03:00 
			
		
		
		
	Drop Python 2.7 support
This commit is contained in:
		
							parent
							
								
									7b2baeeb6f
								
							
						
					
					
						commit
						6b8efa0569
					
				| 
						 | 
				
			
			@ -26,10 +26,6 @@ jobs:
 | 
			
		|||
    env: TOXENV=mypy
 | 
			
		||||
    install: pip install tox
 | 
			
		||||
    script: tox
 | 
			
		||||
  - python: 2.7
 | 
			
		||||
    env: TOXENV=py27
 | 
			
		||||
    install: pip install tox
 | 
			
		||||
    script: tox
 | 
			
		||||
  - python: 3.4
 | 
			
		||||
    env: TOXENV=py34
 | 
			
		||||
    install: pip install tox
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,6 +10,7 @@ follows `Semantic versioning`_
 | 
			
		|||
4.0.0
 | 
			
		||||
-----
 | 
			
		||||
- Add ``wiring`` feature.
 | 
			
		||||
- Drop Python 2.7 support.
 | 
			
		||||
- Add ``sanic`` example.
 | 
			
		||||
- Update ``aiohttp`` example.
 | 
			
		||||
- Update ``flask`` example.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										11
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								tox.ini
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
[tox]
 | 
			
		||||
envlist=
 | 
			
		||||
    coveralls, pylint, flake8, pydocstyle, py27, py34, py35, py36, py37, py38, pypy, pypy3
 | 
			
		||||
    coveralls, pylint, flake8, pydocstyle, py34, py35, py36, py37, py38, pypy, pypy3
 | 
			
		||||
 | 
			
		||||
[testenv]
 | 
			
		||||
deps=
 | 
			
		||||
| 
						 | 
				
			
			@ -27,13 +27,6 @@ commands=
 | 
			
		|||
    coverage report --rcfile=./.coveragerc
 | 
			
		||||
    coveralls
 | 
			
		||||
 | 
			
		||||
[testenv:py27]
 | 
			
		||||
extras=
 | 
			
		||||
    yaml
 | 
			
		||||
    flask
 | 
			
		||||
commands=
 | 
			
		||||
    unit2 discover -s tests/unit -p test_*_py2_py3.py
 | 
			
		||||
 | 
			
		||||
[testenv:py34]
 | 
			
		||||
extras=
 | 
			
		||||
    flask
 | 
			
		||||
| 
						 | 
				
			
			@ -52,7 +45,7 @@ extras=
 | 
			
		|||
    yaml
 | 
			
		||||
    flask
 | 
			
		||||
commands=
 | 
			
		||||
    unit2 discover -s tests/unit -p test_*_py2_py3.py
 | 
			
		||||
    unit2 discover -s tests/unit -p test_*_py3.py
 | 
			
		||||
 | 
			
		||||
[testenv:pylint]
 | 
			
		||||
deps=
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user