Changeset a05e4b1 in trunk
- Timestamp:
- 2023-01-09T22:04:25Z (3 years ago)
- Branches:
- master
- Children:
- 56b93ae, 7c50605, c211731, da8cc19
- Parents:
- 3c3697d (diff), 046d9cf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- Itamar Turner-Trauring <itamar@…> (2023-01-09 22:04:25)
- git-committer:
- GitHub <noreply@…> (2023-01-09 22:04:25)
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified .circleci/config.yml ¶
r3c3697d ra05e4b1 16 16 jobs: 17 17 # Start with jobs testing various platforms. 18 - "debian-10":19 {}20 18 - "debian-11": 21 19 {} … … 23 21 - "ubuntu-20-04": 24 22 {} 25 - "ubuntu-18-04":26 requires:27 - "ubuntu-20-04"28 23 29 24 # Equivalent to RHEL 8; CentOS 8 is dead. … … 86 81 # 87 82 # https://app.circleci.com/settings/organization/github/tahoe-lafs/contexts 88 - "build-image-debian-10": &DOCKERHUB_CONTEXT 89 context: "dockerhub-auth" 90 - "build-image-debian-11": 91 <<: *DOCKERHUB_CONTEXT 92 - "build-image-ubuntu-18-04": 83 - "build-image-debian-11": &DOCKERHUB_CONTEXT 93 84 <<: *DOCKERHUB_CONTEXT 94 85 - "build-image-ubuntu-20-04": … … 168 159 dist/Tahoe-LAFS/tahoe --version 169 160 170 debian-10: &DEBIAN 171 docker: 172 - <<: *DOCKERHUB_AUTH 173 image: "tahoelafsci/debian:10-py3.7" 174 user: "nobody" 175 161 debian-11: &DEBIAN 176 162 environment: &UTF_8_ENVIRONMENT 177 163 # In general, the test suite is not allowed to fail while the job … … 185 171 LANG: "en_US.UTF-8" 186 172 # Select a tox environment to run for this job. 187 TAHOE_LAFS_TOX_ENVIRONMENT: "py3 7"173 TAHOE_LAFS_TOX_ENVIRONMENT: "py39" 188 174 # Additional arguments to pass to tox. 189 175 TAHOE_LAFS_TOX_ARGS: "" … … 253 239 fi 254 240 255 debian-11:256 <<: *DEBIAN257 241 docker: 258 242 - <<: *DOCKERHUB_AUTH 259 243 image: "tahoelafsci/debian:11-py3.9" 260 244 user: "nobody" 261 environment: 262 <<: *UTF_8_ENVIRONMENT 263 TAHOE_LAFS_TOX_ENVIRONMENT: "py39" 245 264 246 265 247 # Restore later using PyPy3.8 … … 312 294 - run: *SETUP_VIRTUALENV 313 295 - run: *RUN_TESTS 314 315 ubuntu-18-04: &UBUNTU_18_04316 <<: *DEBIAN317 docker:318 - <<: *DOCKERHUB_AUTH319 image: "tahoelafsci/ubuntu:18.04-py3.7"320 user: "nobody"321 322 environment:323 <<: *UTF_8_ENVIRONMENT324 # The default trial args include --rterrors which is incompatible with325 # this reporter on Python 3. So drop that and just specify the326 # reporter.327 TAHOE_LAFS_TRIAL_ARGS: "--reporter=subunitv2-file"328 TAHOE_LAFS_TOX_ENVIRONMENT: "py37"329 330 296 331 297 ubuntu-20-04: … … 446 412 docker: 447 413 - <<: *DOCKERHUB_AUTH 448 image: "tahoelafsci/ubuntu: 18.04-py3.7"414 image: "tahoelafsci/ubuntu:20.04-py3.9" 449 415 450 416 steps: … … 458 424 docker: 459 425 - <<: *DOCKERHUB_AUTH 460 image: "tahoelafsci/ubuntu: 18.04-py3.7"426 image: "tahoelafsci/ubuntu:20.04-py3.9" 461 427 462 428 steps: … … 509 475 510 476 511 build-image-debian-10:512 <<: *BUILD_IMAGE513 514 environment:515 DISTRO: "debian"516 TAG: "10"517 PYTHON_VERSION: "3.7"518 519 520 477 build-image-debian-11: 521 478 <<: *BUILD_IMAGE … … 525 482 TAG: "11" 526 483 PYTHON_VERSION: "3.9" 527 528 build-image-ubuntu-18-04:529 <<: *BUILD_IMAGE530 531 environment:532 DISTRO: "ubuntu"533 TAG: "18.04"534 PYTHON_VERSION: "3.7"535 484 536 485 -
TabularUnified .github/workflows/ci.yml ¶
r3c3697d ra05e4b1 49 49 - ubuntu-latest 50 50 python-version: 51 - "3.7"52 51 - "3.8" 53 52 - "3.9" 54 53 - "3.10" 55 54 include: 56 # On macOS don't bother with 3. 7-3.8, just to get faster builds.55 # On macOS don't bother with 3.8, just to get faster builds. 57 56 - os: macos-latest 58 57 python-version: "3.9" … … 61 60 # We only support PyPy on Linux at the moment. 62 61 - os: ubuntu-latest 63 python-version: "pypy-3. 7"62 python-version: "pypy-3.8" 64 63 - os: ubuntu-latest 65 python-version: "pypy-3. 8"64 python-version: "pypy-3.9" 66 65 67 66 steps: … … 164 163 # https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3943 165 164 - os: ubuntu-20.04 166 python-version: "3.7"167 force-foolscap: true168 - os: ubuntu-20.04169 165 python-version: "3.9" 170 166 force-foolscap: false -
TabularUnified README.rst ¶
r3c3697d ra05e4b1 57 57 ----------- 58 58 59 Python 3. 7 or later is nowrequired.59 Python 3.8 or later is required. 60 60 If you are still using Python 2.7, use Tahoe-LAFS version 1.17.1. 61 61 -
TabularUnified default.nix ¶
r3c3697d ra05e4b1 30 30 # for dependency resolution 31 31 32 , pythonVersion ? "python3 7" # a string choosing the python derivation from32 , pythonVersion ? "python39" # a string choosing the python derivation from 33 33 # nixpkgs to target 34 34 -
TabularUnified setup.py ¶
r3c3697d ra05e4b1 224 224 try: 225 225 p = subprocess.Popen(args, stdout=subprocess.PIPE, cwd=cwd, shell=use_shell) 226 except EnvironmentError as e: # if this gives a SyntaxError, note that Tahoe-LAFS requires Python 3. 7+226 except EnvironmentError as e: # if this gives a SyntaxError, note that Tahoe-LAFS requires Python 3.8+ 227 227 print("Warning: unable to run %r." % (" ".join(args),)) 228 228 print(e) … … 375 375 packages=find_packages('src') + ['allmydata.test.plugins'], 376 376 classifiers=trove_classifiers, 377 # We support Python 3. 7or later. 3.11 is not supported yet.378 python_requires=">=3. 7, <3.11",377 # We support Python 3.8 or later. 3.11 is not supported yet. 378 python_requires=">=3.8, <3.11", 379 379 install_requires=install_requires, 380 380 extras_require={ … … 389 389 "test": [ 390 390 "flake8", 391 # On Python 3.7, importlib_metadata v5 breaks flake8.392 # https://github.com/python/importlib_metadata/issues/407393 "importlib_metadata<5; python_version < '3.8'",394 391 # Pin a specific pyflakes so we don't have different folks 395 392 # disagreeing on what is or is not a lint issue. We can bump -
TabularUnified tests.nix ¶
r3c3697d ra05e4b1 6 6 , pkgs ? import sources.${pkgsVersion} { } 7 7 , pypiData ? sources.pypi-deps-db 8 , pythonVersion ? "python3 7"8 , pythonVersion ? "python39" 9 9 , mach-nix ? import sources.mach-nix { 10 10 inherit pkgs pypiData; … … 22 22 lib = pkgs.lib; 23 23 }; 24 tests_require = (mach-lib.extract "python3 7" ./. "extras_require" ).extras_require.test;24 tests_require = (mach-lib.extract "python39" ./. "extras_require" ).extras_require.test; 25 25 26 26 # Get the Tahoe-LAFS package itself. This does not include test -
TabularUnified tox.ini ¶
r3c3697d ra05e4b1 8 8 [gh-actions] 9 9 python = 10 3.7: py37-coverage11 10 3.8: py38-coverage 12 11 3.9: py39-coverage 13 12 3.10: py310-coverage 14 pypy-3.7: pypy3715 13 pypy-3.8: pypy38 16 14 pypy-3.9: pypy39 … … 20 18 21 19 [tox] 22 envlist = typechecks,codechecks,py{3 7,38,39,310}-{coverage},pypy27,pypy37,pypy38,pypy39,integration20 envlist = typechecks,codechecks,py{38,39,310}-{coverage},pypy27,pypy38,pypy39,integration 23 21 minversion = 2.4 24 22 … … 50 48 # suffering we're trying to avoid with the above pins. 51 49 certifi 52 # VCS hooks support53 py37,!coverage: pre-commit54 50 55 51 # We add usedevelop=False because testing against a true installation gives
Note: See TracChangeset
for help on using the changeset viewer.