[Pytest-commit] [pytest-dev/pytest] b48e23: port interals of tmpdir to a basic pathlib impleme...

Bruno Oliveira nicoddemus at gmail.com
Fri Oct 12 07:33:53 EDT 2018


  Branch: refs/heads/features
  Home:   https://github.com/pytest-dev/pytest
  Commit: b48e23d54c7133e2612d6b1974dd26d994be10b9
      https://github.com/pytest-dev/pytest/commit/b48e23d54c7133e2612d6b1974dd26d994be10b9
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M .pre-commit-config.yaml
    M src/_pytest/main.py
    M src/_pytest/tmpdir.py
    M testing/test_tmpdir.py

  Log Message:
  -----------
  port interals of tmpdir to a basic pathlib implementation

this is still lacking locking and cleanup of the folders


  Commit: 2e39fd89d1f54d924c10094659254e7c66096e0a
      https://github.com/pytest-dev/pytest/commit/2e39fd89d1f54d924c10094659254e7c66096e0a
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  add python27 support by using reduce instead of max


  Commit: d053cdfbbb5a9da7a726d0f564c1ff7139e5e70c
      https://github.com/pytest-dev/pytest/commit/d053cdfbbb5a9da7a726d0f564c1ff7139e5e70c
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  factor out max and iterate on locks and cleanups


  Commit: 8e00280fc1d50bc2fb74cc1ea128e938bb29a691
      https://github.com/pytest-dev/pytest/commit/8e00280fc1d50bc2fb74cc1ea128e938bb29a691
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  fix linting


  Commit: 66a690928cc847c48774906e5ea60f578ddb216c
      https://github.com/pytest-dev/pytest/commit/66a690928cc847c48774906e5ea60f578ddb216c
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/pytest.py
    M testing/test_tmpdir.py

  Log Message:
  -----------
  bring in purepath and fix an assertion


  Commit: ab3637d486cf48f46aaaa3627c3314ec7099ab06
      https://github.com/pytest-dev/pytest/commit/ab3637d486cf48f46aaaa3627c3314ec7099ab06
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/tmpdir.py
    M testing/test_tmpdir.py

  Log Message:
  -----------
  implement cleanup for unlocked folders


  Commit: 8b4a29357e24cab087202135a92ef603439c194d
      https://github.com/pytest-dev/pytest/commit/8b4a29357e24cab087202135a92ef603439c194d
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  fix typo


  Commit: b3a5b0ebe1fa759cea7dcdd82d17020648234c61
      https://github.com/pytest-dev/pytest/commit/b3a5b0ebe1fa759cea7dcdd82d17020648234c61
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/pytest.py

  Log Message:
  -----------
  remove path from exposure


  Commit: 642cd86dd1723b4ed997a99f3e089eeefdf8af08
      https://github.com/pytest-dev/pytest/commit/642cd86dd1723b4ed997a99f3e089eeefdf8af08
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/tmpdir.py
    M testing/test_tmpdir.py

  Log Message:
  -----------
  shape up removal and lock destruction


  Commit: 2532dc1dbbdf49f2c32638d3caa19c4a7579a9b8
      https://github.com/pytest-dev/pytest/commit/2532dc1dbbdf49f2c32638d3caa19c4a7579a9b8
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  fix up lock consideration argument


  Commit: d76fa59b35edfffa91ce24e19c9f17f75f510546
      https://github.com/pytest-dev/pytest/commit/d76fa59b35edfffa91ce24e19c9f17f75f510546
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/tmpdir.py
    M testing/test_tmpdir.py

  Log Message:
  -----------
  fix lock timeouts for good this time


  Commit: fed4f73a61384189f591294e8ca0dc9ad50ddb89
      https://github.com/pytest-dev/pytest/commit/fed4f73a61384189f591294e8ca0dc9ad50ddb89
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  ignore rmtree errors


  Commit: 85cc9b8f128ae3cc5fd14b0b301b69ef8ea87128
      https://github.com/pytest-dev/pytest/commit/85cc9b8f128ae3cc5fd14b0b301b69ef8ea87128
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/assertion/rewrite.py
    M src/_pytest/cacheprovider.py
    M src/_pytest/compat.py
    A src/_pytest/pathlib.py
    M src/_pytest/paths.py
    M src/_pytest/pytester.py
    M src/_pytest/tmpdir.py
    M testing/test_tmpdir.py

  Log Message:
  -----------
  move all the things into _pytest.pathlib


  Commit: 00716177b4af3dd885ea1c1cb0ccfd71a3893b51
      https://github.com/pytest-dev/pytest/commit/00716177b4af3dd885ea1c1cb0ccfd71a3893b51
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M testing/python/fixture.py

  Log Message:
  -----------
  fix missed Path import


  Commit: 2831cb9ab5eb5acdc2eb0e55becf507a93ea3ac0
      https://github.com/pytest-dev/pytest/commit/2831cb9ab5eb5acdc2eb0e55becf507a93ea3ac0
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/assertion/rewrite.py
    M src/_pytest/cacheprovider.py
    M src/_pytest/pathlib.py
    R src/_pytest/paths.py
    M testing/test_paths.py

  Log Message:
  -----------
  unify paths.py and pathlib.py


  Commit: 30369140979973c486b0c2c55f8d346db8d9f252
      https://github.com/pytest-dev/pytest/commit/30369140979973c486b0c2c55f8d346db8d9f252
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/cacheprovider.py
    M src/_pytest/pathlib.py
    M src/_pytest/tmpdir.py
    M testing/test_tmpdir.py

  Log Message:
  -----------
  sort out rmtree expectations


  Commit: ad6f63edda671733d4ad08a390da3bc6c1b758d1
      https://github.com/pytest-dev/pytest/commit/ad6f63edda671733d4ad08a390da3bc6c1b758d1
  Author: Ronny Pfannschmidt <ronny.pfannschmidt at redhat.com>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    A changelog/3985.feature.rst
    A changelog/3988.trivial.rst

  Log Message:
  -----------
  add changelog


  Commit: 4a436b54709b4d6a530cb2931e6f51a17c97945b
      https://github.com/pytest-dev/pytest/commit/4a436b54709b4d6a530cb2931e6f51a17c97945b
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/pathlib.py
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  resolve in code review commments


  Commit: b82d6f7a0b628a5f1cb6d326ec25389f3c804abf
      https://github.com/pytest-dev/pytest/commit/b82d6f7a0b628a5f1cb6d326ec25389f3c804abf
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/pytester.py
    M src/_pytest/tmpdir.py
    M testing/test_tmpdir.py

  Log Message:
  -----------
  pytester: use per test tmproot


  Commit: 94829c391bc868f40f727be7f86d16fd1c223756
      https://github.com/pytest-dev/pytest/commit/94829c391bc868f40f727be7f86d16fd1c223756
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/pytester.py

  Log Message:
  -----------
  make tmpdir env cleanup idempotent


  Commit: ebd597b2fdba6faca1645c75cf3cf82849c76715
      https://github.com/pytest-dev/pytest/commit/ebd597b2fdba6faca1645c75cf3cf82849c76715
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  use the constant for lock timeouts


  Commit: 36c2a101cbf047df9303c57c94a1f2cae7282f52
      https://github.com/pytest-dev/pytest/commit/36c2a101cbf047df9303c57c94a1f2cae7282f52
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  add missing docstring


  Commit: 16e2737da3e25a076d61166f2c341db5ee27e977
      https://github.com/pytest-dev/pytest/commit/16e2737da3e25a076d61166f2c341db5ee27e977
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/_pytest/deprecated.py
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  implement tmp_path_factory and deprecate pytest.ensuretemp as intended


  Commit: 584051aa90b3437bcbd509a6591393e7e4d1569d
      https://github.com/pytest-dev/pytest/commit/584051aa90b3437bcbd509a6591393e7e4d1569d
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M doc/en/tmpdir.rst

  Log Message:
  -----------
  extend docs with basics about tmp_path and tmp_path_facotry


  Commit: 4736b2bdfb99f66f998cdc387627d64fd38447d1
      https://github.com/pytest-dev/pytest/commit/4736b2bdfb99f66f998cdc387627d64fd38447d1
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M .pre-commit-config.yaml
    A changelog/3988.deprecation.rst
    M doc/en/tmpdir.rst
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  address review comments


  Commit: 933de16fe438bc9c4b441cb6a21fdf25c8b7b710
      https://github.com/pytest-dev/pytest/commit/933de16fe438bc9c4b441cb6a21fdf25c8b7b710
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-10-12 (Fri, 12 Oct 2018)

  Changed paths:
    M .pre-commit-config.yaml
    A changelog/3985.feature.rst
    A changelog/3988.deprecation.rst
    A changelog/3988.trivial.rst
    M doc/en/tmpdir.rst
    M src/_pytest/assertion/rewrite.py
    M src/_pytest/cacheprovider.py
    M src/_pytest/compat.py
    M src/_pytest/deprecated.py
    M src/_pytest/main.py
    A src/_pytest/pathlib.py
    R src/_pytest/paths.py
    M src/_pytest/pytester.py
    M src/_pytest/tmpdir.py
    M testing/python/fixture.py
    M testing/test_paths.py
    M testing/test_tmpdir.py

  Log Message:
  -----------
  Merge pull request #3988 from RonnyPfannschmidt/tmpdir-port-pathlib

Tmpdir port pathlib


Compare: https://github.com/pytest-dev/pytest/compare/e8348a1d12c5...933de16fe438
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the pytest-commit mailing list