mirror of
				https://github.com/arsenetar/send2trash.git
				synced 2025-09-11 18:08:16 +00:00 
			
		
		
		
	chore: Update project configuration and ci for python version changes
- Drop support for Python 2 - Drop support for Python 3.7, 3.8 is new minimum - Update tox to include newer python version and drop old ones - Update GitHub action for python version changes, use standard python setup action - Update GitHub action to use pinned action versions - Update version to 2.0.0-dev
This commit is contained in:
		
							parent
							
								
									65bda6c7ca
								
							
						
					
					
						commit
						9a2c5bc690
					
				
							
								
								
									
										30
									
								
								.github/workflows/default.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										30
									
								
								.github/workflows/default.yml
									
									
									
									
										vendored
									
									
								
							| @ -2,19 +2,15 @@ | ||||
| 
 | ||||
| name: Default CI/CD | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|     branches: [master] | ||||
|   pull_request: | ||||
|     branches: [master] | ||||
| on: push | ||||
| 
 | ||||
| jobs: | ||||
|   lint: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v4 | ||||
|       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||||
|       - name: Set up Python 3.x | ||||
|         uses: actions/setup-python@v5 | ||||
|         uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | ||||
|         with: | ||||
|           python-version: 3.x | ||||
|       - name: Install dependencies | ||||
| @ -30,6 +26,8 @@ jobs: | ||||
|     strategy: | ||||
|       matrix: | ||||
|         include: | ||||
|           - os: ubuntu-latest | ||||
|             python-version: 3.13 | ||||
|           - os: ubuntu-latest | ||||
|             python-version: 3.12 | ||||
|           - os: ubuntu-latest | ||||
| @ -40,27 +38,19 @@ jobs: | ||||
|             python-version: 3.9 | ||||
|           - os: ubuntu-latest | ||||
|             python-version: 3.8 | ||||
|           - os: ubuntu-latest | ||||
|             python-version: 3.7 | ||||
|           - os: ubuntu-latest | ||||
|             python-version: 2.7 | ||||
|           # - os: macos-latest | ||||
|           #   python-version: 3.11 | ||||
|           # - os: macos-latestgit push | ||||
|           #   python-version: 3.13 | ||||
|           # - os: macos-latest | ||||
|           #   python-version: 3.8 | ||||
|           # - os: macos-latest | ||||
|           #   python-version: 2.7 | ||||
|           - os: windows-latest | ||||
|             python-version: 3.12 | ||||
|             python-version: 3.13 | ||||
|           - os: windows-latest | ||||
|             python-version: 3.8 | ||||
|           - os: windows-latest | ||||
|             python-version: 2.7 | ||||
| 
 | ||||
|     steps: | ||||
|       - uses: actions/checkout@v4 | ||||
|       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||||
|       - name: Set up Python ${{ matrix.python-version }} | ||||
|         uses: LizardByte/setup-python-action@master | ||||
|         uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | ||||
|         with: | ||||
|           python-version: ${{ matrix.python-version }} | ||||
|       - name: Install dependencies | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| [build-system] | ||||
| requires = ["setuptools >= 40.6.0"] | ||||
| requires = ["setuptools >= 75.3.1"] | ||||
| build-backend = "setuptools.build_meta" | ||||
| 
 | ||||
| [tool.black] | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| [metadata] | ||||
| name = Send2Trash | ||||
| version = 1.8.3 | ||||
| version = 2.0.0-dev | ||||
| url = https://github.com/arsenetar/send2trash | ||||
| project_urls =  | ||||
|     Bug Reports = https://github.com/arsenetar/send2trash/issues | ||||
| @ -18,20 +18,19 @@ classifiers = | ||||
|     Operating System :: MacOS :: MacOS X | ||||
|     Operating System :: Microsoft :: Windows | ||||
|     Operating System :: POSIX | ||||
|     Programming Language :: Python :: 2.7 | ||||
|     Programming Language :: Python :: 3 | ||||
|     Programming Language :: Python :: 3.7 | ||||
|     Programming Language :: Python :: 3.8 | ||||
|     Programming Language :: Python :: 3.9 | ||||
|     Programming Language :: Python :: 3.10 | ||||
|     Programming Language :: Python :: 3.11 | ||||
|     Programming Language :: Python :: 3.12 | ||||
|     Programming Language :: Python :: 3.13 | ||||
|     Topic :: Desktop Environment :: File Managers | ||||
| 
 | ||||
| [options] | ||||
| packages = find: | ||||
| tests_require = pytest | ||||
| python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.* | ||||
| python_requires = !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, !=3.7.* | ||||
| 
 | ||||
| [options.packages.find] | ||||
| include= | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user