Remove support for Python 3.6 and 3.7
This commit is contained in:
		
							parent
							
								
									79d9fa2909
								
							
						
					
					
						commit
						b820d6a2ba
					
				
							
								
								
									
										20
									
								
								.github/workflows/publish-python.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/publish-python.yaml
									
									
									
									
										vendored
									
									
								
							| @ -21,13 +21,9 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       matrix: |       matrix: | ||||||
|         python: # Update this list whenever the docker image is updated (check /opt/python/) |         python: # Update this list whenever the docker image is updated (check /opt/python/) | ||||||
|           - cp36-cp36m |  | ||||||
|           - cp37-cp37m |  | ||||||
|           - cp38-cp38 |           - cp38-cp38 | ||||||
|           - cp39-cp39 |           - cp39-cp39 | ||||||
|           - cp310-cp310 |           - cp310-cp310 | ||||||
|           - pp37-pypy37_pp73 |  | ||||||
|           - pp38-pypy38_pp73 |  | ||||||
|     steps: |     steps: | ||||||
|       - name: "Checkout" |       - name: "Checkout" | ||||||
|         uses: actions/checkout@v2 |         uses: actions/checkout@v2 | ||||||
| @ -63,10 +59,9 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       matrix: |       matrix: | ||||||
|         python: |         python: | ||||||
|           - '3.7' |           - "3.8" | ||||||
|           - '3.8' |           - "3.9" | ||||||
|           - '3.9' |           - "3.10" | ||||||
|           - '3.10' |  | ||||||
|     steps: |     steps: | ||||||
|       - name: "Checkout" |       - name: "Checkout" | ||||||
|         uses: actions/checkout@v2 |         uses: actions/checkout@v2 | ||||||
| @ -94,7 +89,7 @@ jobs: | |||||||
|           path: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-python/dist/*.whl |           path: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-python/dist/*.whl | ||||||
| 
 | 
 | ||||||
|   build-windows-wheel: |   build-windows-wheel: | ||||||
|     name: "Build windows wheel" |     name: "Build Windows wheel" | ||||||
|     runs-on: windows-2022 |     runs-on: windows-2022 | ||||||
|     defaults: |     defaults: | ||||||
|       run: |       run: | ||||||
| @ -102,10 +97,9 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       matrix: |       matrix: | ||||||
|         python: |         python: | ||||||
|           - '3.7' |           - "3.8" | ||||||
|           - '3.8' |           - "3.9" | ||||||
|           - '3.9' |           - "3.10" | ||||||
|           - '3.10' |  | ||||||
|     steps: |     steps: | ||||||
|       - name: "Checkout" |       - name: "Checkout" | ||||||
|         uses: actions/checkout@v2 |         uses: actions/checkout@v2 | ||||||
|  | |||||||
							
								
								
									
										31
									
								
								.github/workflows/test-python.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										31
									
								
								.github/workflows/test-python.yaml
									
									
									
									
										vendored
									
									
								
							| @ -30,10 +30,8 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       matrix: |       matrix: | ||||||
|         python: |         python: | ||||||
|           # - cp36-cp36m |           - cp38-cp38 | ||||||
|           # - cp37-cp37m |           - cp39-cp39 | ||||||
|           # - cp38-cp38 |  | ||||||
|           # - cp39-cp39 |  | ||||||
|           - cp310-cp310 |           - cp310-cp310 | ||||||
|     steps: |     steps: | ||||||
|       - name: "Checkout" |       - name: "Checkout" | ||||||
| @ -77,10 +75,9 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       matrix: |       matrix: | ||||||
|         python: |         python: | ||||||
|           # - '3.7' |           - "3.8" | ||||||
|           # - '3.8' |           - "3.9" | ||||||
|           # - '3.9' |           - "3.10" | ||||||
|           - '3.10' |  | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout |       - name: Checkout | ||||||
|         uses: actions/checkout@v2 |         uses: actions/checkout@v2 | ||||||
| @ -117,10 +114,9 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       matrix: |       matrix: | ||||||
|         python: |         python: | ||||||
|           # - '3.7' |           - "3.8" | ||||||
|           # - '3.8' |           - "3.9" | ||||||
|           # - '3.9' |           - "3.10" | ||||||
|           - '3.10' |  | ||||||
|     steps: |     steps: | ||||||
|       - name: "Checkout" |       - name: "Checkout" | ||||||
|         uses: actions/checkout@v2 |         uses: actions/checkout@v2 | ||||||
| @ -139,12 +135,11 @@ jobs: | |||||||
|       - name: "Build wheel" |       - name: "Build wheel" | ||||||
|         run: python setup.py bdist_wheel --verbose |         run: python setup.py bdist_wheel --verbose | ||||||
| 
 | 
 | ||||||
|       # TODO: On Windows the pip install ./dist/*.whl step fails with the following error: | # TODO: On Windows the pip install ./dist/*.whl step fails with the following error: | ||||||
|       # Run pip install ./dist/*.whl | # Run pip install ./dist/*.whl | ||||||
|       # WARNING: Requirement './dist/*.whl' looks like a filename, but the file does not exist | # WARNING: Requirement './dist/*.whl' looks like a filename, but the file does not exist | ||||||
|       # ERROR: *.whl is not a valid wheel filename.*.whl is not a valid wheel name | # ERROR: *.whl is not a valid wheel filename.*.whl is not a valid wheel name | ||||||
|       # So we skip the installing and the tests and simply test that the wheel builds | # So we skip the installing and the tests and simply test that the wheel builds | ||||||
| 
 |  | ||||||
|       # - name: Install wheel |       # - name: Install wheel | ||||||
|       #   run: pip install ./dist/*.whl |       #   run: pip install ./dist/*.whl | ||||||
|       # - name: Run tests |       # - name: Run tests | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user