[Pytest-commit] [pytest-dev/pytest] fc61bd: fix 4425: resolve --basetemp to absolute paths

Bruno Oliveira nicoddemus at gmail.com
Thu Nov 22 14:10:12 EST 2018


  Branch: refs/heads/master
  Home:   https://github.com/pytest-dev/pytest
  Commit: fc61bdd9073d86819eb54c8603384a10c626a9d4
      https://github.com/pytest-dev/pytest/commit/fc61bdd9073d86819eb54c8603384a10c626a9d4
  Author: Ronny Pfannschmidt <ronny.pfannschmidt at redhat.com>
  Date:   2018-11-20 (Tue, 20 Nov 2018)

  Changed paths:
    A changelog/4425.bugfix.rst
    M src/_pytest/monkeypatch.py
    M src/_pytest/tmpdir.py
    M testing/test_tmpdir.py

  Log Message:
  -----------
  fix 4425: resolve --basetemp to absolute paths


  Commit: f180ab3e69438559df309e8eac563499bde4fba2
      https://github.com/pytest-dev/pytest/commit/f180ab3e69438559df309e8eac563499bde4fba2
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-11-20 (Tue, 20 Nov 2018)

  Changed paths:
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  Use os.path.abspath to get absolute path instead of Path.resolve()

Unfortunately it seems there is a difference in resolve() behavior depending
on the platform


  Commit: 4f5c153d29eb91a76e8f2aa519684e9710ef6624
      https://github.com/pytest-dev/pytest/commit/4f5c153d29eb91a76e8f2aa519684e9710ef6624
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-11-21 (Wed, 21 Nov 2018)

  Changed paths:
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  Fix call to os.path.abspath: the argument might already be a Path instance

There's Path.absolute(), but it is not public, see https://bugs.python.org/issue25012.


  Commit: f1fe9e41acf6e2099270a931c46cf390cdc6e348
      https://github.com/pytest-dev/pytest/commit/f1fe9e41acf6e2099270a931c46cf390cdc6e348
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-11-21 (Wed, 21 Nov 2018)

  Changed paths:
    M src/_pytest/tmpdir.py

  Log Message:
  -----------
  Mention PR# in the comment for future reference


  Commit: 5f1d69207260297738ff4dd96687fe049d2963a3
      https://github.com/pytest-dev/pytest/commit/5f1d69207260297738ff4dd96687fe049d2963a3
  Author: Ronny Pfannschmidt <ronny.pfannschmidt at redhat.com>
  Date:   2018-11-22 (Thu, 22 Nov 2018)

  Changed paths:
    M testing/test_tmpdir.py

  Log Message:
  -----------
  use Path.resolve in test to sort out osx temporary folder being a symlink


  Commit: 9424d88843a06a290d2e9fe6b8e1523b3d8e39ee
      https://github.com/pytest-dev/pytest/commit/9424d88843a06a290d2e9fe6b8e1523b3d8e39ee
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-11-22 (Thu, 22 Nov 2018)

  Changed paths:
    A changelog/4425.bugfix.rst
    M src/_pytest/monkeypatch.py
    M src/_pytest/tmpdir.py
    M testing/test_tmpdir.py

  Log Message:
  -----------
  Merge pull request #4427 from RonnyPfannschmidt/fix-4425

fix 4425: resolve --basetemp to absolute paths


Compare: https://github.com/pytest-dev/pytest/compare/2c45bc3019ee...9424d88843a0
      **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