diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93f0c6d48..0e98ae308 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ env: _PEX_TEST_POS_ARGS: "--color --devpi --devpi-timeout 15.0 --shutdown-devpi -vvs" # We use this to skip exposing same-versioned Pythons present on Linux hosts. These otherwise can # collide when attempting to load libpython..so and lead to mysterious errors - # importing builtins like `fcntl` as outlined in https://github.com/pantsbuild/pex/issues/1391. + # importing builtins like `fcntl` as outlined in https://github.com/pex-tool/pex/issues/1391. _PEX_TEST_PYENV_VERSIONS: "2.7 3.7 3.10" _PEX_PEXPECT_TIMEOUT: 10 concurrency: @@ -18,7 +18,7 @@ concurrency: jobs: org-check: name: Check GitHub Organization - if: github.repository_owner == 'pantsbuild' + if: github.repository_owner == 'pex-tool' runs-on: ubuntu-22.04 steps: - name: Noop diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e3ae5432a..41b39a91f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ on: jobs: org-check: name: Check GitHub Organization - if: ${{ github.repository_owner == 'pantsbuild' }} + if: ${{ github.repository_owner == 'pex-tool' }} runs-on: ubuntu-22.04 steps: - name: Noop @@ -125,7 +125,7 @@ jobs: "type": "section", "text": { "type": "mrkdwn", - "text": "Pex ${{ needs.determine-tag.outputs.release-version }} is released:\n* https://pypi.org/project/pex/${{ needs.determine-tag.outputs.release-version }}/\n* https://github.com/pantsbuild/pex/releases/tag/${{ needs.determine-tag.outputs.release-tag }}" + "text": "Pex ${{ needs.determine-tag.outputs.release-version }} is released:\n* https://pypi.org/project/pex/${{ needs.determine-tag.outputs.release-version }}/\n* https://github.com/pex-tool/pex/releases/tag/${{ needs.determine-tag.outputs.release-tag }}" } } ] diff --git a/CHANGES.md b/CHANGES.md index e3d3f47ee..827ba5da9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1202,7 +1202,7 @@ contain those characters under PyPy3, Python 3.5 and Python 3.6. This is another hotfix of the 2.1.48 release's `--layout` feature that fixes identification of `--layout zipapp` PEXes that have had their execute mode bit turned off. A notable example is the Pex PEX when -downloaded from . +downloaded from . * Fix zipapp layout identification. (#1448) @@ -1712,7 +1712,7 @@ applications when specifying the `--unzip` option. PEXes built with there already and then re-execute themselves from there. This can improve startup latency. Pex itself now uses this mode in our [PEX release]( -https://github.com/pantsbuild/pex/releases/download/v2.1.8/pex). +https://github.com/pex-tool/pex/releases/download/v2.1.8/pex). * Better support unzip mode PEXes. (#941) * Support an unzip toggle for PEXes. (#939) @@ -1731,7 +1731,7 @@ new support for control of the cache's runtime location with control the cache's runtime location. Unlike in the past, the [Pex PEX]( -https://github.com/pantsbuild/pex/releases/download/v2.1.7/pex) we +https://github.com/pex-tool/pex/releases/download/v2.1.7/pex) we release can now also be controlled via the `PEX_ROOT` environment variable. Consult the CLI help for `--no-strip-pex-env`cto find out more. @@ -2448,7 +2448,7 @@ normalization. * Add support for `.pexrc` files for influencing the pex environment. See the notes [here]( - https://github.com/pantsbuild/pex/blob/master/docs/buildingpex.rst#tailoring-pex-execution-at-build-time + https://github.com/pex-tool/pex/blob/master/docs/buildingpex.rst#tailoring-pex-execution-at-build-time ). * Bug fix: PEX_PROFILE_FILENAME and PEX_PROFILE_SORT were not respected. @@ -2475,7 +2475,7 @@ normalization. with default values that were not explicitly set in the environment. Fixes #135. * Bug fix: Since - [69649c1](https://github.com/pantsbuild/pex/commit/69649c1) we have + [69649c1](https://github.com/pex-tool/pex/commit/69649c1) we have been un-patching the side effects of `sys.modules` after `PEX.execute`. This takes all modules imported during the PEX lifecycle and sets all their attributes to `None`. Unfortunately, @@ -2622,7 +2622,7 @@ This is the last release before the 1.0.0 development branch is started. [requests](https://github.com/kennethreitz/requests), improving both performance and security. For more information, read the commit notes at [91c7f32]( - https://github.com/pantsbuild/pex/commit/91c7f324085c18af714d35947b603a5f60aeb682 + https://github.com/pex-tool/pex/commit/91c7f324085c18af714d35947b603a5f60aeb682 ). * Improvements to API documentation throughout. * Renamed `Tracer` to `TraceLogger` to prevent nondeterministic isort diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..0ad6da2d6 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,58 @@ +# Contributing + +First, thank you in advance for your time and effort! + +## Constraints + +Pex provides the `pex`, `pex3` and `pex-tools` tools via the [`pex` distribution on PyPI]( +https://pypi.org/project/pex/) and the [`pex` PEX released on GitHub]( +https://github.com/pex-tool/pex/releases/latest). Although there is no public code API (Pex is +supported as a CLI tool only), its stability guarantees for these scripts are paramount. Pex should +strictly adhere to [SEMVER 2.0](https://semver.org/) and never bump the major version. In other +words, changes should only fix bugs or add new features, never change existing features / the CLI +API (option names, meanings, etc.). As part of this guaranty, Pex must maintain support for all the +Pythons it has ever supported, namely CPython and PyPy for versions 2.7 and 3.5+. This means Pex +contributions are limited to Python 2.7 syntax and type hints using the comment style. + +These hard constraints aside, Pex stays abreast of the latest as best as possible in the Python +packaging world. It always strives to support the latest Python and Pip releases either before they +reach a stable release or within a few days of one. As such, coverage of both Python interpreters +and Pip versions is broad in CI and most changes can proceed with confidence if CI goes green. + +## Development Environment + +You'll need just a few tools to hack on Pex: ++ The [`tox`](https://tox.wiki) tool. ++ (Optionally) Docker, or a Docker CLI clone like podman. + +## Development Cycle + +You might want to open a [discussion](https://github.com/pex-tool/pex/discussions) or [issue]( +https://github.com/pex-tool/pex/issues) to vet your idea first. It can often save overall effort and +lead to a better end result. + +Before sending off changes you should run `tox -e fmt,lint,check`. This formats, lints and type +checks the code. + +In addition you should run tests, which are divided into integration tests (those under +`tests/integration/`) and unit tests (those under `tests/` but not under `tests/integration/`). +Unit tests have a tox environment name that matches the desired interpreter to test against. So, to +run unit tests against CPython 3.11 (which you must have installed), use `tox -e py311`. For +CPython 2.7 use `tox -e py27` and for PyPy 3.10 `tox -e pypy310`, etc. Integration tests follow the +same scheme with `-integration` appended to the environment name; so `tox -e py311-integration`, +`tox -epy27-integration`, `tox -e pypy310-integration`, etc. Both sets of test environments support +passing additional args to the test runner, which is a small shim around pytest. The shim supports +a `--devpi` option to have tests use a local [devpi server](https://pypi.org/project/devpi-server/) +caching proxy server. This generally helps with network flakes and is a friendly thing to do for +the PyPI maintainers. For example, `tox -e py312 -- --devpi -k just_this_test` would run unit tests +against CPython 3.12 using a devpi server and additionally just run the `just_this_test` test by +using pytest's `-k` test selector option. + +If you have `docker` installed, you can use `./dtox.sh` in place of `tox` for any of the commands +described above. This will transparently pull or build a docker image on first execution that +contains all the Pythons Pex supports; so you can run the now exotic `./dtox.sh -e pypy27...` +without having to actually install PyPy 2.7 on your machine. + +When you're ready to get additional eyes on your changes, submit a [pull request]( +https://github.com/pex-tool/pex/pulls). + diff --git a/README.rst b/README.rst index c2578a9d3..836a21f78 100644 --- a/README.rst +++ b/README.rst @@ -1,8 +1,8 @@ *** PEX *** -.. image:: https://github.com/pantsbuild/pex/workflows/CI/badge.svg?branch=main - :target: https://github.com/pantsbuild/pex/actions?query=branch%3Amain+workflow%3ACI +.. image:: https://github.com/pex-tool/pex/workflows/CI/badge.svg?branch=main + :target: https://github.com/pex-tool/pex/actions?query=branch%3Amain+workflow%3ACI .. image:: https://img.shields.io/pypi/l/pex.svg :target: https://pypi.org/project/pex/ .. image:: https://img.shields.io/pypi/v/pex.svg @@ -167,13 +167,13 @@ running ``tox --listenvs-all``, then invoke like this: .. code-block:: - $ tox -e format-run + $ tox -e fmt To run MyPy: .. code-block:: - $ tox -e typecheck + $ tox -e check All of our tox test environments allow passthrough arguments, which can be helpful to run specific tests: @@ -188,7 +188,3 @@ To run Pex from source, rather than through what is on your PATH, invoke via Pyt $ python -m pex -Contributing -============ - -To contribute, follow these instructions: https://www.pantsbuild.org/docs/contributor-overview diff --git a/RELEASE.rst b/RELEASE.rst index a1b271569..7c44cf057 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -34,7 +34,7 @@ Version Bump and Changelog -------------------------- Bump the version in ``pex/version.py`` and update ``CHANGES.rst``. Open a PR with these changes and -land it on https://github.com/pantsbuild/pex main. +land it on https://github.com/pex-tool/pex main. Release ======= @@ -42,7 +42,7 @@ Release Push Release tag to Master -------------------------- -Sync a local branch with https://github.com/pantsbuild/pex main and confirm it has the version +Sync a local branch with https://github.com/pex-tool/pex main and confirm it has the version bump and changelog update as the tip commit: :: @@ -58,23 +58,23 @@ bump and changelog update as the tip commit: pex/version.py | 2 +- 2 files changed, 18 insertions(+), 3 deletions(-) -Tag the release and push the tag to https://github.com/pantsbuild/pex main: +Tag the release and push the tag to https://github.com/pex-tool/pex main: :: $ git tag --sign -am 'Release 2.1.29' v2.1.29 - $ git push --tags https://github.com/pantsbuild/pex HEAD:main + $ git push --tags https://github.com/pex-tool/pex HEAD:main If you're on macOS and commit signing fails, try setting ``export GPG_TTY=$(tty)``. Open the Release workflow run and wait for it to go green: -https://github.com/pantsbuild/pex/actions?query=workflow%3ARelease+branch%3Av2.1.29 +https://github.com/pex-tool/pex/actions?query=workflow%3ARelease+branch%3Av2.1.29 Edit the Github Release Page ---------------------------- Open the release page for edit: -https://github.com/pantsbuild/pex/releases/edit/v2.1.29 +https://github.com/pex-tool/pex/releases/edit/v2.1.29 1. Copy and paste the most recent CHANGES.rst section. 2. Adapt the syntax from RestructuredText to Markdown (e.g. remove RST links ```PR #... <...>`_``). diff --git a/build-backend/pex_build/__init__.py b/build-backend/pex_build/__init__.py index 8f221708c..87fb2ed9a 100644 --- a/build-backend/pex_build/__init__.py +++ b/build-backend/pex_build/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/build-backend/pex_build/hatchling/__init__.py b/build-backend/pex_build/hatchling/__init__.py index 8f221708c..87fb2ed9a 100644 --- a/build-backend/pex_build/hatchling/__init__.py +++ b/build-backend/pex_build/hatchling/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/build-backend/pex_build/hatchling/build.py b/build-backend/pex_build/hatchling/build.py index e1be4392b..cf00f622e 100644 --- a/build-backend/pex_build/hatchling/build.py +++ b/build-backend/pex_build/hatchling/build.py @@ -1,4 +1,4 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/build-backend/pex_build/hatchling/dynamic_requires_python.py b/build-backend/pex_build/hatchling/dynamic_requires_python.py index d65941fb8..666581ad2 100644 --- a/build-backend/pex_build/hatchling/dynamic_requires_python.py +++ b/build-backend/pex_build/hatchling/dynamic_requires_python.py @@ -1,4 +1,4 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/build-backend/pex_build/hatchling/hooks.py b/build-backend/pex_build/hatchling/hooks.py index b11ec0891..2a90079c4 100644 --- a/build-backend/pex_build/hatchling/hooks.py +++ b/build-backend/pex_build/hatchling/hooks.py @@ -1,4 +1,4 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/docker/cache/Dockerfile b/docker/cache/Dockerfile index 9b13dfe3f..f963b64de 100644 --- a/docker/cache/Dockerfile +++ b/docker/cache/Dockerfile @@ -1,9 +1,9 @@ # A data image with the necessary binaries and libraries to develop pex. # Populate the ~/.pex_dev cache. -FROM ghcr.io/pantsbuild/pex/base:latest as cache +FROM ghcr.io/pex-tool/pex/base:latest as cache -ARG PEX_REPO=https://github.com/pantsbuild/pex +ARG PEX_REPO=https://github.com/pex-tool/pex ARG GIT_REF=HEAD # These must be set as a comma-separated list of all tox envs to cache. diff --git a/docker/user/Dockerfile b/docker/user/Dockerfile index 4ad05bca5..a42a3a013 100644 --- a/docker/user/Dockerfile +++ b/docker/user/Dockerfile @@ -1,5 +1,5 @@ ARG BASE_IMAGE_TAG=latest -FROM ghcr.io/pantsbuild/pex/base:${BASE_IMAGE_TAG} +FROM ghcr.io/pex-tool/pex/base:${BASE_IMAGE_TAG} # Prepare developer shim that can operate on local files and not mess up perms in the process. ARG USER diff --git a/docs/_ext/vars.py b/docs/_ext/vars.py index 6e916fd02..c39a2c282 100644 --- a/docs/_ext/vars.py +++ b/docs/_ext/vars.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from docutils import nodes, statemachine diff --git a/docs/recipes.rst b/docs/recipes.rst index f87b96750..c74681371 100644 --- a/docs/recipes.rst +++ b/docs/recipes.rst @@ -65,7 +65,7 @@ process title so you see both the Python being used to run your PEX and the PEX $ ./my.pex --foo bar & $ ps -o command | grep pex - /home/jsirois/.pyenv/versions/3.10.2/bin/python3.10 /home/jsirois/dev/pantsbuild/jsirois-pex/my.pex --foo bar + /home/jsirois/.pyenv/versions/3.10.2/bin/python3.10 /home/jsirois/dev/pex-tool/pex/my.pex --foo bar PEX app in a container ---------------------- diff --git a/dtox.sh b/dtox.sh index da38e376b..2982af89a 100755 --- a/dtox.sh +++ b/dtox.sh @@ -15,16 +15,16 @@ BASE_INPUT=( base_hash=$(cat "${BASE_INPUT[@]}" | git hash-object -t blob --stdin) function base_image_id() { - docker image ls -q "ghcr.io/pantsbuild/pex/base:${base_hash}" + docker image ls -q "ghcr.io/pex-tool/pex/base:${base_hash}" } if [[ "${BASE_MODE}" == "build" && -z "$(base_image_id)" ]]; then docker build \ - --tag ghcr.io/pantsbuild/pex/base:latest \ - --tag "ghcr.io/pantsbuild/pex/base:${base_hash}" \ + --tag ghcr.io/pex-tool/pex/base:latest \ + --tag "ghcr.io/pex-tool/pex/base:${base_hash}" \ "${ROOT}/docker/base" elif [[ "${BASE_MODE}" == "pull" ]]; then - docker pull "ghcr.io/pantsbuild/pex/base:${base_hash}" + docker pull "ghcr.io/pex-tool/pex/base:${base_hash}" fi USER_INPUT=( @@ -35,7 +35,7 @@ USER_INPUT=( user_hash=$(cat "${USER_INPUT[@]}" | git hash-object -t blob --stdin) function user_image_id() { - docker image ls -q "pantsbuild/pex/user:${user_hash}" + docker image ls -q "pex-tool/pex/user:${user_hash}" } if [[ -z "$(user_image_id)" ]]; then @@ -45,8 +45,8 @@ if [[ -z "$(user_image_id)" ]]; then --build-arg UID="$(id -u)" \ --build-arg GROUP="$(id -gn)" \ --build-arg GID="$(id -g)" \ - --tag pantsbuild/pex/user:latest \ - --tag "pantsbuild/pex/user:${user_hash}" \ + --tag pex-tool/pex/user:latest \ + --tag "pex-tool/pex/user:${user_hash}" \ "${ROOT}/docker/user" fi @@ -60,13 +60,13 @@ if [[ "${CACHE_MODE}" == "pull" ]]; then docker run \ --rm \ --volume pex-caches:/development/pex_dev \ - "ghcr.io/pantsbuild/pex/cache:${CACHE_TAG}" || true + "ghcr.io/pex-tool/pex/cache:${CACHE_TAG}" || true docker run \ --rm \ --volume pex-caches:/development/pex_dev \ --entrypoint bash \ --user root \ - "pantsbuild/pex/user:${user_hash}" \ + "pex-tool/pex/user:${user_hash}" \ -c "chown -R $(id -u):$(id -g) /development/pex_dev" fi @@ -114,6 +114,6 @@ exec docker run \ --volume "${ROOT}:/development/pex" \ --volume pex-tox:/development/pex/.tox \ "${DOCKER_ARGS[@]}" \ - "pantsbuild/pex/user:${user_hash}" \ + "pex-tool/pex/user:${user_hash}" \ "$@" diff --git a/pex/__init__.py b/pex/__init__.py index 00b14972a..dd5f26fa8 100644 --- a/pex/__init__.py +++ b/pex/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/__main__.py b/pex/__main__.py index f8840b57e..6c8709749 100644 --- a/pex/__main__.py +++ b/pex/__main__.py @@ -1,4 +1,4 @@ -# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2019 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/argparse.py b/pex/argparse.py index a18a8c855..84d5103f6 100644 --- a/pex/argparse.py +++ b/pex/argparse.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/asserts.py b/pex/asserts.py index 723775e0b..f7e2c58da 100644 --- a/pex/asserts.py +++ b/pex/asserts.py @@ -1,4 +1,4 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -33,7 +33,7 @@ Firstly, please accept our apology! If you could file an issue with the error and details above, we'd be - grateful. You can do that at https://github.com/pantsbuild/pex/issues/new and + grateful. You can do that at https://github.com/pex-tool/pex/issues/new and redact or amend any details that expose sensitive information. """ ).strip() diff --git a/pex/atomic_directory.py b/pex/atomic_directory.py index 58c686e7c..ab91b9c05 100644 --- a/pex/atomic_directory.py +++ b/pex/atomic_directory.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -86,7 +86,7 @@ def __init__( # this compaction is more robust. # # See: https://bugs.launchpad.net/ecryptfs/+bug/344878 - # See: https://github.com/pantsbuild/pex/issues/2087 + # See: https://github.com/pex-tool/pex/issues/2087 fingerprint = hashlib.sha256(target_basename.encode("utf-8")).hexdigest() self._work_dir = os.path.join( diff --git a/pex/attrs.py b/pex/attrs.py index 25c266a07..30cb1c5e5 100644 --- a/pex/attrs.py +++ b/pex/attrs.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/auth.py b/pex/auth.py index 347e60c08..fb7ce95e0 100644 --- a/pex/auth.py +++ b/pex/auth.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/bin/__init__.py b/pex/bin/__init__.py index 00b14972a..dd5f26fa8 100644 --- a/pex/bin/__init__.py +++ b/pex/bin/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/bin/pex.py b/pex/bin/pex.py index 288ff58da..df1336fce 100755 --- a/pex/bin/pex.py +++ b/pex/bin/pex.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). """ diff --git a/pex/bootstrap.py b/pex/bootstrap.py index 03cb57fe5..979e8ae88 100644 --- a/pex/bootstrap.py +++ b/pex/bootstrap.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2018 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function @@ -54,7 +54,7 @@ def demote(self, disable_vendor_importer=True): # N.B.: We mutate the sys.path before un-importing modules so that any re-imports triggered # by concurrent code will pull from the desired sys.path ordering. - # See here for how this situation might arise: https://github.com/pantsbuild/pex/issues/1272 + # See here for how this situation might arise: https://github.com/pex-tool/pex/issues/1272 sys.path[:] = [path for path in sys.path if os.path.realpath(path) != self._realpath] sys.path.append(self._sys_path_entry) diff --git a/pex/build_system/__init__.py b/pex/build_system/__init__.py index 7664a70ee..254ca6d60 100644 --- a/pex/build_system/__init__.py +++ b/pex/build_system/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/build_system/pep_517.py b/pex/build_system/pep_517.py index 031312367..fc0cf1e42 100644 --- a/pex/build_system/pep_517.py +++ b/pex/build_system/pep_517.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/build_system/pep_518.py b/pex/build_system/pep_518.py index 653927889..84d625dc1 100644 --- a/pex/build_system/pep_518.py +++ b/pex/build_system/pep_518.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/cli/__init__.py b/pex/cli/__init__.py index 87308fe2b..69322168a 100644 --- a/pex/cli/__init__.py +++ b/pex/cli/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/cli/__main__.py b/pex/cli/__main__.py index 5ced38cdc..8a14826ac 100644 --- a/pex/cli/__main__.py +++ b/pex/cli/__main__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/cli/command.py b/pex/cli/command.py index 58d5ba8ee..4f4996124 100644 --- a/pex/cli/command.py +++ b/pex/cli/command.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/cli/commands/__init__.py b/pex/cli/commands/__init__.py index f47a5b91c..9ea8b48ad 100644 --- a/pex/cli/commands/__init__.py +++ b/pex/cli/commands/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from pex.cli.command import BuildTimeCommand diff --git a/pex/cli/commands/interpreter.py b/pex/cli/commands/interpreter.py index d375ec6fd..ec94e5dab 100644 --- a/pex/cli/commands/interpreter.py +++ b/pex/cli/commands/interpreter.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/cli/commands/lock.py b/pex/cli/commands/lock.py index c06a30e40..5cbe9b970 100644 --- a/pex/cli/commands/lock.py +++ b/pex/cli/commands/lock.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/cli/commands/venv.py b/pex/cli/commands/venv.py index c06f957c5..83ed19403 100644 --- a/pex/cli/commands/venv.py +++ b/pex/cli/commands/venv.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/cli/pex.py b/pex/cli/pex.py index ee63a37b3..4b10cb780 100644 --- a/pex/cli/pex.py +++ b/pex/cli/pex.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/commands/__init__.py b/pex/commands/__init__.py index 87308fe2b..69322168a 100644 --- a/pex/commands/__init__.py +++ b/pex/commands/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/commands/command.py b/pex/commands/command.py index ca1a6f2d4..c78fdb075 100644 --- a/pex/commands/command.py +++ b/pex/commands/command.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/common.py b/pex/common.py index ea8a6c0d2..01532e21a 100644 --- a/pex/common.py +++ b/pex/common.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function @@ -125,7 +125,7 @@ def do_copy(): # `protected_hardlinks` (see: https://www.kernel.org/doc/Documentation/sysctl/fs.txt) and # we can fall back to copying in that case. # - # See also https://github.com/pantsbuild/pex/issues/850 where this was discovered. + # See also https://github.com/pex-tool/pex/issues/850 where this was discovered. do_copy() else: raise diff --git a/pex/compatibility.py b/pex/compatibility.py index 788971c86..edddde645 100644 --- a/pex/compatibility.py +++ b/pex/compatibility.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). # This file contains several 2.x/3.x compatibility checkstyle violations for a reason diff --git a/pex/compiler.py b/pex/compiler.py index b25cc972f..dfe3ffa7b 100644 --- a/pex/compiler.py +++ b/pex/compiler.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/dependency_manager.py b/pex/dependency_manager.py index c46f7052a..17fdda7e8 100644 --- a/pex/dependency_manager.py +++ b/pex/dependency_manager.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/dist_metadata.py b/pex/dist_metadata.py index f9a9156ed..0e016d706 100644 --- a/pex/dist_metadata.py +++ b/pex/dist_metadata.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -603,7 +603,7 @@ def requires_dists(location): You may have issues using the '{project_name}' distribution as a result. More information on this workaround can be found here: - https://github.com/pantsbuild/pex/issues/1201#issuecomment-791715585 + https://github.com/pex-tool/pex/issues/1201#issuecomment-791715585 """ ).format( dist=location, @@ -745,7 +745,7 @@ def __str__(self): # N.B.: DistributionMetadata can have an expensive hash when a distribution has many requirements; -# so we cache the hash. See: https://github.com/pantsbuild/pex/issues/1928 +# so we cache the hash. See: https://github.com/pex-tool/pex/issues/1928 @attr.s(frozen=True, cache_hash=True) class DistMetadata(object): @classmethod diff --git a/pex/distutils/__init__.py b/pex/distutils/__init__.py index 87308fe2b..69322168a 100644 --- a/pex/distutils/__init__.py +++ b/pex/distutils/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/distutils/commands/__init__.py b/pex/distutils/commands/__init__.py index 87308fe2b..69322168a 100644 --- a/pex/distutils/commands/__init__.py +++ b/pex/distutils/commands/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/distutils/commands/bdist_pex.py b/pex/distutils/commands/bdist_pex.py index 57256012d..974aa7b7e 100644 --- a/pex/distutils/commands/bdist_pex.py +++ b/pex/distutils/commands/bdist_pex.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/enum.py b/pex/enum.py index ca5b1d5b1..ec40871b2 100644 --- a/pex/enum.py +++ b/pex/enum.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/environment.py b/pex/environment.py index a200b5f1f..b7e22b696 100644 --- a/pex/environment.py +++ b/pex/environment.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/exclude_configuration.py b/pex/exclude_configuration.py index b4b22fc4b..466ae9a8f 100644 --- a/pex/exclude_configuration.py +++ b/pex/exclude_configuration.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/executor.py b/pex/executor.py index 6da7ddb45..0742edb66 100644 --- a/pex/executor.py +++ b/pex/executor.py @@ -1,4 +1,4 @@ -# Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2016 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/fetcher.py b/pex/fetcher.py index 8ab966486..402dd06a5 100644 --- a/pex/fetcher.py +++ b/pex/fetcher.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/finders.py b/pex/finders.py index 0e44021ab..df65b5d57 100644 --- a/pex/finders.py +++ b/pex/finders.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/fingerprinted_distribution.py b/pex/fingerprinted_distribution.py index fd2aae83e..e20cd3fa7 100644 --- a/pex/fingerprinted_distribution.py +++ b/pex/fingerprinted_distribution.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/hashing.py b/pex/hashing.py index 00d4c5ddd..1002bbb1e 100644 --- a/pex/hashing.py +++ b/pex/hashing.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/inherit_path.py b/pex/inherit_path.py index ec1f75814..59db2cb75 100644 --- a/pex/inherit_path.py +++ b/pex/inherit_path.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/interpreter.py b/pex/interpreter.py index 71d8bd1fd..4651da06e 100644 --- a/pex/interpreter.py +++ b/pex/interpreter.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). """pex support for interacting with interpreters.""" @@ -95,7 +95,7 @@ def _normalize_macosx_deployment_target(value): # type: (Any) -> Optional[str] # N.B.: Sometimes MACOSX_DEPLOYMENT_TARGET can be configured as a float. - # See: https://github.com/pantsbuild/pex/issues/1337 + # See: https://github.com/pex-tool/pex/issues/1337 if value is None: return None return str(value) @@ -269,7 +269,7 @@ def iter_tags(): yield tags.Tag(interpreter=interpreter, abi=abi, platform=platform) # N.B.: Old encoded identities may have numeric values; so we support these and convert - # back to strings here as needed. See: https://github.com/pantsbuild/pex/issues/1337 + # back to strings here as needed. See: https://github.com/pex-tool/pex/issues/1337 configured_macosx_deployment_target = cls._normalize_macosx_deployment_target( values.pop("configured_macosx_deployment_target") ) diff --git a/pex/interpreter_constraints.py b/pex/interpreter_constraints.py index c7d57743f..1dab16c21 100644 --- a/pex/interpreter_constraints.py +++ b/pex/interpreter_constraints.py @@ -1,4 +1,4 @@ -# Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2017 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). # A library of functions for filtering Python interpreters based on compatibility constraints @@ -197,7 +197,7 @@ def create_message(self, preamble=None): failures_message = ( "{}\n" "\n" - "(See https://github.com/pantsbuild/pex/issues/1027 for a list of known breaks and " + "(See https://github.com/pex-tool/pex/issues/1027 for a list of known breaks and " "workarounds.)" ).format( "\n".join( diff --git a/pex/jobs.py b/pex/jobs.py index 1e1d5cc27..ab3bbc320 100644 --- a/pex/jobs.py +++ b/pex/jobs.py @@ -1,4 +1,4 @@ -# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2019 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/layout.py b/pex/layout.py index a286abfa6..95ad18262 100644 --- a/pex/layout.py +++ b/pex/layout.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/network_configuration.py b/pex/network_configuration.py index e5963864e..a0738c225 100644 --- a/pex/network_configuration.py +++ b/pex/network_configuration.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/orderedset.py b/pex/orderedset.py index 6f83f9625..ef75747dd 100644 --- a/pex/orderedset.py +++ b/pex/orderedset.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). # # OrderedSet recipe referenced in the Python standard library docs (bottom): diff --git a/pex/pep_376.py b/pex/pep_376.py index 594baab6b..9950d4b94 100644 --- a/pex/pep_376.py +++ b/pex/pep_376.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pep_425.py b/pex/pep_425.py index 6ad7e5674..2d5f35f4b 100644 --- a/pex/pep_425.py +++ b/pex/pep_425.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pep_427.py b/pex/pep_427.py index 8b7661cb3..3318530df 100644 --- a/pex/pep_427.py +++ b/pex/pep_427.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/pep_440.py b/pex/pep_440.py index d9ede0994..505608849 100644 --- a/pex/pep_440.py +++ b/pex/pep_440.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pep_503.py b/pex/pep_503.py index 9a6797580..0d3047e07 100644 --- a/pex/pep_503.py +++ b/pex/pep_503.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pep_508.py b/pex/pep_508.py index 9ce8b5cf2..153aba2ee 100644 --- a/pex/pep_508.py +++ b/pex/pep_508.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pex.py b/pex/pex.py index f769e4f51..c896b6d5d 100644 --- a/pex/pex.py +++ b/pex/pex.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -275,7 +275,7 @@ def minimum_sys_modules( # for performing needed patches to the `distutils` stdlib breaks. # # See: - # + https://github.com/pantsbuild/pex/issues/992 + # + https://github.com/pex-tool/pex/issues/992 # + https://github.com/pypa/virtualenv/pull/1688 (not is_venv or module_name != "_virtualenv") and module_file diff --git a/pex/pex_bootstrapper.py b/pex/pex_bootstrapper.py index 5fb1ce5bb..c1ccebd51 100644 --- a/pex/pex_bootstrapper.py +++ b/pex/pex_bootstrapper.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -227,7 +227,7 @@ def _select_path_interpreter( # overhead. return current_interpreter # TODO: Allow the selection strategy to be parameterized: - # https://github.com/pantsbuild/pex/issues/430 + # https://github.com/pex-tool/pex/issues/430 return PythonInterpreter.latest_release_of_min_compatible_version(candidate_interpreters) diff --git a/pex/pex_builder.py b/pex/pex_builder.py index a10a23492..7a9d5ee83 100644 --- a/pex/pex_builder.py +++ b/pex/pex_builder.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pex_info.py b/pex/pex_info.py index 3c0d942ea..6041870d5 100644 --- a/pex/pex_info.py +++ b/pex/pex_info.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pex_warnings.py b/pex/pex_warnings.py index 7b30ae89d..af11bb62d 100644 --- a/pex/pex_warnings.py +++ b/pex/pex_warnings.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2019 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pip/__init__.py b/pex/pip/__init__.py index f8a3827f7..3a5891b8f 100644 --- a/pex/pip/__init__.py +++ b/pex/pip/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/pip/download_observer.py b/pex/pip/download_observer.py index 927e73ffc..26964460b 100644 --- a/pex/pip/download_observer.py +++ b/pex/pip/download_observer.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/pip/foreign_platform/__init__.py b/pex/pip/foreign_platform/__init__.py index caf532c41..278f5028a 100644 --- a/pex/pip/foreign_platform/__init__.py +++ b/pex/pip/foreign_platform/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pip/foreign_platform/markers.py b/pex/pip/foreign_platform/markers.py index 8a978d777..cdd5640a3 100644 --- a/pex/pip/foreign_platform/markers.py +++ b/pex/pip/foreign_platform/markers.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pip/foreign_platform/requires_python.py b/pex/pip/foreign_platform/requires_python.py index df6fb2319..bee9b9690 100644 --- a/pex/pip/foreign_platform/requires_python.py +++ b/pex/pip/foreign_platform/requires_python.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pip/foreign_platform/tags.py b/pex/pip/foreign_platform/tags.py index bd5629793..2a9eb459b 100644 --- a/pex/pip/foreign_platform/tags.py +++ b/pex/pip/foreign_platform/tags.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pip/installation.py b/pex/pip/installation.py index fe9b2c9db..a36dad82c 100644 --- a/pex/pip/installation.py +++ b/pex/pip/installation.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pip/local_project.py b/pex/pip/local_project.py index dedeca8ce..ff7ca8c97 100644 --- a/pex/pip/local_project.py +++ b/pex/pip/local_project.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pip/log_analyzer.py b/pex/pip/log_analyzer.py index 8433b8854..a30d2654b 100644 --- a/pex/pip/log_analyzer.py +++ b/pex/pip/log_analyzer.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pip/tailer.py b/pex/pip/tailer.py index 5272754c9..ed70cac64 100644 --- a/pex/pip/tailer.py +++ b/pex/pip/tailer.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/pip/tool.py b/pex/pip/tool.py index 4a0ce231d..c7466706b 100644 --- a/pex/pip/tool.py +++ b/pex/pip/tool.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2019 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function @@ -343,7 +343,7 @@ def _spawn_pip_isolated( # Ensure the pip cache (`http/` and `wheels/` dirs) is housed in the same partition as the # temporary directories it creates. This is needed to ensure atomic filesystem operations # since Pip relies upon `shutil.move` which is only atomic when `os.rename` can be used. - # See https://github.com/pantsbuild/pex/issues/1776 for an example of the issues non-atomic + # See https://github.com/pex-tool/pex/issues/1776 for an example of the issues non-atomic # moves lead to in the `pip wheel` case. pip_tmpdir = os.path.join(self._pip_cache, ".tmp") safe_mkdir(pip_tmpdir) @@ -356,7 +356,7 @@ def _spawn_pip_isolated( **extra_env ) as env: # Guard against API calls from environment with ambient PYTHONPATH preventing pip PEX - # bootstrapping. See: https://github.com/pantsbuild/pex/issues/892 + # bootstrapping. See: https://github.com/pex-tool/pex/issues/892 pythonpath = env.pop("PYTHONPATH", None) if pythonpath: TRACER.log( @@ -368,7 +368,7 @@ def _spawn_pip_isolated( # To uphold the Pex standard, force Pip to comply by re-directing stdout to stderr. # # See: - # + https://github.com/pantsbuild/pex/issues/1267 + # + https://github.com/pex-tool/pex/issues/1267 # + https://github.com/pypa/pip/issues/9420 if "stdout" not in popen_kwargs: popen_kwargs["stdout"] = sys.stderr.fileno() diff --git a/pex/pip/vcs.py b/pex/pip/vcs.py index 11abe3736..b5a5260db 100644 --- a/pex/pip/vcs.py +++ b/pex/pip/vcs.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pip/version.py b/pex/pip/version.py index c17daded9..0a10511c0 100644 --- a/pex/pip/version.py +++ b/pex/pip/version.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -157,7 +157,7 @@ def values(cls): name="20.3.4-patched", version="20.3.4+patched", requirement=( - "pip @ git+https://github.com/pantsbuild/pip@386a54f097ece66775d0c7f34fd29bb596c6b0be" + "pip @ git+https://github.com/pex-tool/pip@386a54f097ece66775d0c7f34fd29bb596c6b0be" ), wheel_version="0.37.1", requires_python="<3.12", @@ -165,7 +165,7 @@ def values(cls): # TODO(John Sirois): Expose setuptools and wheel version flags - these don't affect # Pex; so we should allow folks to experiment with upgrade easily: - # https://github.com/pantsbuild/pex/issues/1895 + # https://github.com/pex-tool/pex/issues/1895 v22_2_2 = PipVersionValue( version="22.2.2", diff --git a/pex/platforms.py b/pex/platforms.py index a0a6a19c4..961f8d592 100644 --- a/pex/platforms.py +++ b/pex/platforms.py @@ -1,4 +1,4 @@ -# Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2017 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -238,7 +238,7 @@ def parse_tags(output): job = SpawnedJob.stdout( # TODO(John Sirois): Plumb pip_version and the user-configured resolver: - # https://github.com/pantsbuild/pex/issues/1894 + # https://github.com/pex-tool/pex/issues/1894 job=get_pip(resolver=ConfiguredResolver.default()).spawn_debug( platform=self, manylinux=manylinux ), diff --git a/pex/pth.py b/pex/pth.py index 26e1a6018..cdf9db6c2 100644 --- a/pex/pth.py +++ b/pex/pth.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/pyenv.py b/pex/pyenv.py index 0a99a1e2c..ba36ab59a 100644 --- a/pex/pyenv.py +++ b/pex/pyenv.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/rank.py b/pex/rank.py index ddb71fe2e..a83f9d940 100644 --- a/pex/rank.py +++ b/pex/rank.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/requirements.py b/pex/requirements.py index 0c4f90ac1..4c72a2ddd 100644 --- a/pex/requirements.py +++ b/pex/requirements.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/__init__.py b/pex/resolve/__init__.py index 87308fe2b..69322168a 100644 --- a/pex/resolve/__init__.py +++ b/pex/resolve/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/resolve/config.py b/pex/resolve/config.py index c84f7d9bb..f6ad40d52 100644 --- a/pex/resolve/config.py +++ b/pex/resolve/config.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/configured_resolve.py b/pex/resolve/configured_resolve.py index 4517a30c5..c31c12fba 100644 --- a/pex/resolve/configured_resolve.py +++ b/pex/resolve/configured_resolve.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/configured_resolver.py b/pex/resolve/configured_resolver.py index 9497b8bc6..b0c22a1eb 100644 --- a/pex/resolve/configured_resolver.py +++ b/pex/resolve/configured_resolver.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/downloads.py b/pex/resolve/downloads.py index 971e1c658..56c7e4605 100644 --- a/pex/resolve/downloads.py +++ b/pex/resolve/downloads.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/lock_resolver.py b/pex/resolve/lock_resolver.py index 79cd06d85..d48770080 100644 --- a/pex/resolve/lock_resolver.py +++ b/pex/resolve/lock_resolver.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/locked_resolve.py b/pex/resolve/locked_resolve.py index 3f63e8e84..b6db419ca 100644 --- a/pex/resolve/locked_resolve.py +++ b/pex/resolve/locked_resolve.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, division diff --git a/pex/resolve/locker.py b/pex/resolve/locker.py index fcb48c809..4ebe57069 100644 --- a/pex/resolve/locker.py +++ b/pex/resolve/locker.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/locker_patches.py b/pex/resolve/locker_patches.py index 0d8c1641b..9c92f9521 100644 --- a/pex/resolve/locker_patches.py +++ b/pex/resolve/locker_patches.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/lockfile/__init__.py b/pex/resolve/lockfile/__init__.py index 87308fe2b..69322168a 100644 --- a/pex/resolve/lockfile/__init__.py +++ b/pex/resolve/lockfile/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/resolve/lockfile/create.py b/pex/resolve/lockfile/create.py index 4bea88c39..7ecc4b694 100644 --- a/pex/resolve/lockfile/create.py +++ b/pex/resolve/lockfile/create.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/lockfile/download_manager.py b/pex/resolve/lockfile/download_manager.py index a17a67432..eae38f2fa 100644 --- a/pex/resolve/lockfile/download_manager.py +++ b/pex/resolve/lockfile/download_manager.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/lockfile/json_codec.py b/pex/resolve/lockfile/json_codec.py index 2053baa52..fc33bec24 100644 --- a/pex/resolve/lockfile/json_codec.py +++ b/pex/resolve/lockfile/json_codec.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/lockfile/model.py b/pex/resolve/lockfile/model.py index 38debb6f7..e1d3d442e 100644 --- a/pex/resolve/lockfile/model.py +++ b/pex/resolve/lockfile/model.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/resolve/lockfile/subset.py b/pex/resolve/lockfile/subset.py index cf0e0688f..fbda77fee 100644 --- a/pex/resolve/lockfile/subset.py +++ b/pex/resolve/lockfile/subset.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -91,7 +91,7 @@ def subset( include_all_matches=include_all_matches, # TODO(John Sirois): Plumb `--ignore-errors` to support desired but technically # invalid `pip-legacy-resolver` locks: - # https://github.com/pantsbuild/pex/issues/1652 + # https://github.com/pex-tool/pex/issues/1652 ) if isinstance(resolve_result, Resolved): resolveds.append(resolve_result) diff --git a/pex/resolve/lockfile/updater.py b/pex/resolve/lockfile/updater.py index e6b67bd56..c4d669c5f 100644 --- a/pex/resolve/lockfile/updater.py +++ b/pex/resolve/lockfile/updater.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/path_mappings.py b/pex/resolve/path_mappings.py index 01f15ea5e..d206610dd 100644 --- a/pex/resolve/path_mappings.py +++ b/pex/resolve/path_mappings.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/pep_691/__init__.py b/pex/resolve/pep_691/__init__.py index f8a3827f7..3a5891b8f 100644 --- a/pex/resolve/pep_691/__init__.py +++ b/pex/resolve/pep_691/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/resolve/pep_691/api.py b/pex/resolve/pep_691/api.py index 41f37638f..e610ee517 100644 --- a/pex/resolve/pep_691/api.py +++ b/pex/resolve/pep_691/api.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/pep_691/fingerprint_service.py b/pex/resolve/pep_691/fingerprint_service.py index 4e1f54427..daed9fbf5 100644 --- a/pex/resolve/pep_691/fingerprint_service.py +++ b/pex/resolve/pep_691/fingerprint_service.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -121,7 +121,7 @@ def _warn_database_error( "If you encounter this error frequently, Pex may need to adjust how it uses SQLite for " "its cache of artifact fingerprints obtained from PEP-691 indexes. Please consider " "reporting the problem by filing an issue at " - "https://github.com/pantsbuild/pex/issues/new.".format(message=message, error=error) + "https://github.com/pex-tool/pex/issues/new.".format(message=message, error=error) ) def fingerprint( diff --git a/pex/resolve/pep_691/model.py b/pex/resolve/pep_691/model.py index d55201a7a..46257698e 100644 --- a/pex/resolve/pep_691/model.py +++ b/pex/resolve/pep_691/model.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/pex_repository_resolver.py b/pex/resolve/pex_repository_resolver.py index 3cf073be1..205e49fdc 100644 --- a/pex/resolve/pex_repository_resolver.py +++ b/pex/resolve/pex_repository_resolver.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/requirement_configuration.py b/pex/resolve/requirement_configuration.py index df8a2021f..75639968a 100644 --- a/pex/resolve/requirement_configuration.py +++ b/pex/resolve/requirement_configuration.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/requirement_options.py b/pex/resolve/requirement_options.py index 289e663b4..d9f6b3a77 100644 --- a/pex/resolve/requirement_options.py +++ b/pex/resolve/requirement_options.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/resolved_requirement.py b/pex/resolve/resolved_requirement.py index ee0c2687f..5d8546055 100644 --- a/pex/resolve/resolved_requirement.py +++ b/pex/resolve/resolved_requirement.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/resolver_configuration.py b/pex/resolve/resolver_configuration.py index 98c74719c..3f507646f 100644 --- a/pex/resolve/resolver_configuration.py +++ b/pex/resolve/resolver_configuration.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/resolver_options.py b/pex/resolve/resolver_options.py index 5f6961969..f946b4f12 100644 --- a/pex/resolve/resolver_options.py +++ b/pex/resolve/resolver_options.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -309,7 +309,7 @@ def get_use_pip_config_value(options): if options.use_pip_config is not None: return cast(bool, options.use_pip_config) # An affordance for tests to point at the devpi server. - # TODO(John Sirois): https://github.com/pantsbuild/pex/issues/2242 + # TODO(John Sirois): https://github.com/pex-tool/pex/issues/2242 # Improve options system to accept command line args or env vars in general which will promote # PEX_USE_PIP_CONFIG (no leading underscore) to a 1st class Pex CLI control knob. return os.environ.get("_PEX_USE_PIP_CONFIG", "False").lower() in ("1", "true") diff --git a/pex/resolve/resolvers.py b/pex/resolve/resolvers.py index eaa9c04a8..13605aa85 100644 --- a/pex/resolve/resolvers.py +++ b/pex/resolve/resolvers.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/target_configuration.py b/pex/resolve/target_configuration.py index 5853ec52d..0ccdab265 100644 --- a/pex/resolve/target_configuration.py +++ b/pex/resolve/target_configuration.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolve/target_options.py b/pex/resolve/target_options.py index aad412792..bb5b40bb4 100644 --- a/pex/resolve/target_options.py +++ b/pex/resolve/target_options.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/resolver.py b/pex/resolver.py index 3711a5d52..bd15d7c7c 100644 --- a/pex/resolver.py +++ b/pex/resolver.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -199,7 +199,7 @@ def fingerprint_path(path): # option than switching hashing algorithms will be needed, like post-fixing a running version # integer or just mixing one into the hashed content. # - # See: https://github.com/pantsbuild/pex/issues/1655 for a general overview of these cache + # See: https://github.com/pex-tool/pex/issues/1655 for a general overview of these cache # structure concerns. hasher = hashlib.sha256 diff --git a/pex/result.py b/pex/result.py index 08395f111..5bf7f6d3d 100644 --- a/pex/result.py +++ b/pex/result.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/sh_boot.py b/pex/sh_boot.py index 1e0b4e49f..b17d04468 100644 --- a/pex/sh_boot.py +++ b/pex/sh_boot.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/sorted_tuple.py b/pex/sorted_tuple.py index 7e01e6c5b..889f29fb3 100644 --- a/pex/sorted_tuple.py +++ b/pex/sorted_tuple.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/targets.py b/pex/targets.py index 2046d660c..a1cddb72f 100644 --- a/pex/targets.py +++ b/pex/targets.py @@ -1,4 +1,4 @@ -# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2019 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/third_party/__init__.py b/pex/third_party/__init__.py index 954fa086c..a9e6755e7 100644 --- a/pex/third_party/__init__.py +++ b/pex/third_party/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2018 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -559,7 +559,7 @@ def install(root=None, expose=None): >>> third_party.install(expose=['setuptools']) >>> import sys >>> sys.modules.pop('pkg_resources') - # noqa + # noqa >>> from pkg_resources import Requirement >>> new_req = Requirement.parse('wheel==0.31.1') >>> new_req == orig_req diff --git a/pex/tools/__init__.py b/pex/tools/__init__.py index 9fe77d4b6..ae4fab8b5 100644 --- a/pex/tools/__init__.py +++ b/pex/tools/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/tools/__main__.py b/pex/tools/__main__.py index e0f014271..aa65ff8b2 100644 --- a/pex/tools/__main__.py +++ b/pex/tools/__main__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/tools/command.py b/pex/tools/command.py index 5ff9ac085..c7be0c009 100644 --- a/pex/tools/command.py +++ b/pex/tools/command.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/tools/commands/__init__.py b/pex/tools/commands/__init__.py index b9e383640..6a1d809f7 100644 --- a/pex/tools/commands/__init__.py +++ b/pex/tools/commands/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from pex.tools.command import PEXCommand diff --git a/pex/tools/commands/digraph.py b/pex/tools/commands/digraph.py index 1c3e02269..a813bbcf2 100644 --- a/pex/tools/commands/digraph.py +++ b/pex/tools/commands/digraph.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/tools/commands/graph.py b/pex/tools/commands/graph.py index cb05f56bd..2fd7b8242 100644 --- a/pex/tools/commands/graph.py +++ b/pex/tools/commands/graph.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/tools/commands/info.py b/pex/tools/commands/info.py index f3ec67d63..41671787b 100644 --- a/pex/tools/commands/info.py +++ b/pex/tools/commands/info.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/tools/commands/interpreter.py b/pex/tools/commands/interpreter.py index 8c72deec1..5a5e77466 100644 --- a/pex/tools/commands/interpreter.py +++ b/pex/tools/commands/interpreter.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/tools/commands/repository.py b/pex/tools/commands/repository.py index aa7a59102..7bd6924ab 100644 --- a/pex/tools/commands/repository.py +++ b/pex/tools/commands/repository.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/tools/commands/venv.py b/pex/tools/commands/venv.py index f61bcc45a..f502023ad 100644 --- a/pex/tools/commands/venv.py +++ b/pex/tools/commands/venv.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/tools/main.py b/pex/tools/main.py index 1d156baaa..8344d959b 100644 --- a/pex/tools/main.py +++ b/pex/tools/main.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/tracer.py b/pex/tracer.py index a8df2982d..48d65c39c 100644 --- a/pex/tracer.py +++ b/pex/tracer.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/typing.py b/pex/typing.py index 721f24120..7c9a2358e 100644 --- a/pex/typing.py +++ b/pex/typing.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). """Constants to enable safe imports from the `typing` module. diff --git a/pex/util.py b/pex/util.py index 331af6e98..6ddb88b6e 100644 --- a/pex/util.py +++ b/pex/util.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/variables.py b/pex/variables.py index e4bf3c058..3cea85320 100644 --- a/pex/variables.py +++ b/pex/variables.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). # Due to the PEX_ properties, disable checkstyle. @@ -780,7 +780,7 @@ def __repr__(self): # TODO(John Sirois): Extract a runtime.modes package to hold code dealing with runtime mode -# calculations: https://github.com/pantsbuild/pex/issues/1154 +# calculations: https://github.com/pex-tool/pex/issues/1154 def _expand_pex_root(pex_root): # type: (str) -> str fallback = os.path.expanduser(pex_root) diff --git a/pex/vendor/README.md b/pex/vendor/README.md index e2e998e68..44e584530 100644 --- a/pex/vendor/README.md +++ b/pex/vendor/README.md @@ -25,7 +25,7 @@ To update versions of vendored code or add new vendored code: # We shell out to pip at buildtime to resolve and install dependencies. # N.B.: This is pip 20.0.dev0 with a patch to support foreign download targets more fully. - yield VendorSpec.vcs('git+https://github.com/pantsbuild/pip@5eb9470c0c59#egg=pip', rewrite=False) + yield VendorSpec.vcs('git+https://github.com/pex-tool/pip@5eb9470c0c59#egg=pip', rewrite=False) # We expose this to pip at buildtime for legacy builds, but we also use pkg_resources via # pex.third_party at runtime in various ways. diff --git a/pex/vendor/__init__.py b/pex/vendor/__init__.py index caf648681..dd6e7e428 100644 --- a/pex/vendor/__init__.py +++ b/pex/vendor/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2018 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -138,7 +138,7 @@ def prepare(self): def create_packages(self): """Create missing packages joining the vendor root to the base of the vendored distribution. - For example, given a root at ``/home/jake/dev/pantsbuild/pex`` and a vendored distribution + For example, given a root at ``/home/jake/dev/pex-tool/pex`` and a vendored distribution at ``pex/vendor/_vendored/requests`` this method would create the following package files:: pex/vendor/_vendored/__init__.py @@ -206,19 +206,19 @@ def iter_vendor_specs(filter_requires_python=None): # We shell out to pip at buildtime to resolve and install dependencies. # N.B.: We're currently using a patched version of Pip 20.3.4 housed at - # https://github.com/pantsbuild/pip/tree/pex/patches/generation-2. + # https://github.com/pex-tool/pip/tree/pex/patches/generation-2. # It has 2 patches: - # 1.) https://github.com/pantsbuild/pip/commit/06f462537c981116c763c1ba40cf40e9dd461bcf + # 1.) https://github.com/pex-tool/pip/commit/06f462537c981116c763c1ba40cf40e9dd461bcf # The patch works around a bug in `pip download --constraint...` tracked at # https://github.com/pypa/pip/issues/9283 and fixed by https://github.com/pypa/pip/pull/9301 - # there and https://github.com/pantsbuild/pip/pull/8 in our fork. - # 2.) https://github.com/pantsbuild/pip/commit/386a54f097ece66775d0c7f34fd29bb596c6b0be + # there and https://github.com/pex-tool/pip/pull/8 in our fork. + # 2.) https://github.com/pex-tool/pip/commit/386a54f097ece66775d0c7f34fd29bb596c6b0be # This is a cherry-pick of - # https://github.com/pantsbuild/pip/commit/00fb5a0b224cde08e3e5ca034247baadfb646468 + # https://github.com/pex-tool/pip/commit/00fb5a0b224cde08e3e5ca034247baadfb646468 # (https://github.com/pypa/pip/pull/9533) from upstream that upgrades Pip's vendored # packaging to 20.9 to pick up support for mac universal2 wheels. yield VendorSpec.git( - repo="https://github.com/pantsbuild/pip", + repo="https://github.com/pex-tool/pip", commit="386a54f097ece66775d0c7f34fd29bb596c6b0be", project_name="pip", rewrite=False, @@ -228,10 +228,10 @@ def iter_vendor_specs(filter_requires_python=None): # pex.third_party at runtime to inject pkg_resources style namespace packages if needed. # N.B.: 44.0.0 is the last setuptools version compatible with Python 2 and we use a fork of that # with patches needed to support Pex on the v44.0.0/patches/pex-2.x branch. - pantsbuild_setuptools_commit = "3acb925dd708430aeaf197ea53ac8a752f7c1863" + pex_tool_setuptools_commit = "3acb925dd708430aeaf197ea53ac8a752f7c1863" yield VendorSpec.git( - repo="https://github.com/pantsbuild/setuptools", - commit=pantsbuild_setuptools_commit, + repo="https://github.com/pex-tool/setuptools", + commit=pex_tool_setuptools_commit, project_name="setuptools", # Setuptools from source requires running bootstrap.py 1st manually due to circularity in # needing setuptools to build setuptools. The bootstrap runs `setup.py egg_info` which @@ -258,7 +258,7 @@ def iter_vendor_specs(filter_requires_python=None): subprocess.check_call([sys.executable, "bootstrap.py"]) """ - ).format(commit=pantsbuild_setuptools_commit), + ).format(commit=pex_tool_setuptools_commit), ], ) diff --git a/pex/vendor/__main__.py b/pex/vendor/__main__.py index d68ff546f..d51a8f3db 100644 --- a/pex/vendor/__main__.py +++ b/pex/vendor/__main__.py @@ -1,4 +1,4 @@ -# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2018 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/venv/__init__.py b/pex/venv/__init__.py index f8a3827f7..3a5891b8f 100644 --- a/pex/venv/__init__.py +++ b/pex/venv/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/pex/venv/bin_path.py b/pex/venv/bin_path.py index 027bd6c49..5364dc861 100644 --- a/pex/venv/bin_path.py +++ b/pex/venv/bin_path.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/venv/install_scope.py b/pex/venv/install_scope.py index d074f5a30..a8cab43bd 100644 --- a/pex/venv/install_scope.py +++ b/pex/venv/install_scope.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/venv/installer.py b/pex/venv/installer.py index 7e357de59..49a903cf7 100644 --- a/pex/venv/installer.py +++ b/pex/venv/installer.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/pex/venv/installer_configuration.py b/pex/venv/installer_configuration.py index 74fb965d8..74869e4d0 100644 --- a/pex/venv/installer_configuration.py +++ b/pex/venv/installer_configuration.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/venv/installer_options.py b/pex/venv/installer_options.py index a2a82a607..c178cf32c 100644 --- a/pex/venv/installer_options.py +++ b/pex/venv/installer_options.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/pex/venv/virtualenv.py b/pex/venv/virtualenv.py index ffd3589b9..554042d3b 100644 --- a/pex/venv/virtualenv.py +++ b/pex/venv/virtualenv.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -160,7 +160,7 @@ def create( interpreter = base_interpreter # Guard against API calls from environment with ambient PYTHONPATH preventing pip virtualenv - # creation. See: https://github.com/pantsbuild/pex/issues/1451 + # creation. See: https://github.com/pex-tool/pex/issues/1451 env = os.environ.copy() pythonpath = env.pop("PYTHONPATH", None) if pythonpath: diff --git a/pex/version.py b/pex/version.py index 0ef8e8b37..2188eae44 100644 --- a/pex/version.py +++ b/pex/version.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). __version__ = "2.1.163" diff --git a/pex/ziputils.py b/pex/ziputils.py index 7e2cd0b1c..4b6d79272 100644 --- a/pex/ziputils.py +++ b/pex/ziputils.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -43,7 +43,7 @@ def __str__(self): ) ) message_lines.append( - "Please file an issue at https://github.com/pantsbuild/pex/issues/new that includes " + "Please file an issue at https://github.com/pex-tool/pex/issues/new that includes " "this full backtrace if you need this support." ) return os.linesep.join(message_lines) diff --git a/pyproject.toml b/pyproject.toml index 97d5cfd9f..3fe90a7c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ name = "pex" dynamic = ["version"] requires-python = ">=2.7,<3.13,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*" authors = [ - {name = "The PEX developers", email="pantsbuild@gmail.com"} + {name = "The PEX developers", email="developers@pex-tool.org"} ] description = "The PEX packaging toolchain." readme = "README.rst" @@ -62,11 +62,11 @@ pex-tools = "pex.tools.main:main" bdist_pex = "pex.distutils.commands.bdist_pex:bdist_pex" [project.urls] -Homepage = "https://github.com/pantsbuild/pex" -Download = "https://github.com/pantsbuild/pex/releases/latest/download/pex" -Changelog = "https://github.com/pantsbuild/pex/blob/main/CHANGES.md" +Homepage = "https://github.com/pex-tool/pex" +Download = "https://github.com/pex-tool/pex/releases/latest/download/pex" +Changelog = "https://github.com/pex-tool/pex/blob/main/CHANGES.md" Documentation = "https://pex.readthedocs.io/en/latest/" -Source = "https://github.com/pantsbuild/pex" +Source = "https://github.com/pex-tool/pex" [tool.hatch.version] path = "pex/version.py" diff --git a/scripts/build_cache_image.py b/scripts/build_cache_image.py index dda5b9a5e..4512cf314 100644 --- a/scripts/build_cache_image.py +++ b/scripts/build_cache_image.py @@ -14,7 +14,7 @@ def build_cache_image( tox_envs: list[str], tag: str, pex_repo: str, git_ref: str, push: bool = False ) -> None: - image_tag = f"ghcr.io/pantsbuild/pex/cache:{tag}" + image_tag = f"ghcr.io/pex-tool/pex/cache:{tag}" subprocess.run( args=[ "docker", @@ -58,12 +58,12 @@ def main() -> None: "--tag", type=str, default="latest", - help="The tag for the ghcr.io/pantsbuild/pex/cache-all image.", + help="The tag for the ghcr.io/pex-tool/pex/cache-all image.", ) parser.add_argument( "--pex-repo", type=str, - default="https://github.com/pantsbuild/pex", + default="https://github.com/pex-tool/pex", help="The pex repo to clone and use for the docker/cache population.", ) parser.add_argument( diff --git a/testing/__init__.py b/testing/__init__.py index c05cb4c2e..ac79d74e0 100644 --- a/testing/__init__.py +++ b/testing/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/testing/bin/run_tests.py b/testing/bin/run_tests.py index b49f137a4..d0f8adcb1 100755 --- a/testing/bin/run_tests.py +++ b/testing/bin/run_tests.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/testing/build_system.py b/testing/build_system.py index 018810c45..cdf7477e0 100644 --- a/testing/build_system.py +++ b/testing/build_system.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/testing/cli.py b/testing/cli.py index 763f55f63..2c99a8865 100644 --- a/testing/cli.py +++ b/testing/cli.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/testing/data/__init__.py b/testing/data/__init__.py index 740b3a1ff..5eb0198dc 100644 --- a/testing/data/__init__.py +++ b/testing/data/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/testing/data/locks/__init__.py b/testing/data/locks/__init__.py index 6227712e5..86744596e 100644 --- a/testing/data/locks/__init__.py +++ b/testing/data/locks/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/testing/data/platforms/__init__.py b/testing/data/platforms/__init__.py index 87308fe2b..69322168a 100644 --- a/testing/data/platforms/__init__.py +++ b/testing/data/platforms/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/testing/devpi.py b/testing/devpi.py index 9d5c2fc64..b52a8e181 100644 --- a/testing/devpi.py +++ b/testing/devpi.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/testing/resolve.py b/testing/resolve.py index aca135c49..2cabb3f34 100644 --- a/testing/resolve.py +++ b/testing/resolve.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/bin/test_sh_boot.py b/tests/bin/test_sh_boot.py index fa5b3d08b..1e3640675 100644 --- a/tests/bin/test_sh_boot.py +++ b/tests/bin/test_sh_boot.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/build_system/test_issue_2125.py b/tests/build_system/test_issue_2125.py index 361fe81e9..33086ffa7 100644 --- a/tests/build_system/test_issue_2125.py +++ b/tests/build_system/test_issue_2125.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/build_system/test_pep_517.py b/tests/build_system/test_pep_517.py index f54187c26..4c23e2b21 100644 --- a/tests/build_system/test_pep_517.py +++ b/tests/build_system/test_pep_517.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/build_system/test_pep_518.py b/tests/build_system/test_pep_518.py index 0a129f61a..502f7b2e6 100644 --- a/tests/build_system/test_pep_518.py +++ b/tests/build_system/test_pep_518.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/commands/test_command.py b/tests/commands/test_command.py index 62bb5d1e5..47f40b813 100644 --- a/tests/commands/test_command.py +++ b/tests/commands/test_command.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import io diff --git a/tests/conftest.py b/tests/conftest.py index a70e6ab92..b2a9d8aab 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py index 87308fe2b..69322168a 100644 --- a/tests/integration/__init__.py +++ b/tests/integration/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/tests/integration/build_system/__init__.py b/tests/integration/build_system/__init__.py index f8a3827f7..3a5891b8f 100644 --- a/tests/integration/build_system/__init__.py +++ b/tests/integration/build_system/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/tests/integration/build_system/test_issue_2063.py b/tests/integration/build_system/test_issue_2063.py index 97c1d4514..9eec4667d 100644 --- a/tests/integration/build_system/test_issue_2063.py +++ b/tests/integration/build_system/test_issue_2063.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import sys diff --git a/tests/integration/build_system/test_issue_2125.py b/tests/integration/build_system/test_issue_2125.py index 51e959844..4f26097b7 100644 --- a/tests/integration/build_system/test_issue_2125.py +++ b/tests/integration/build_system/test_issue_2125.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import sys diff --git a/tests/integration/build_system/test_pep_517.py b/tests/integration/build_system/test_pep_517.py index d710b26ab..090dd8d6d 100644 --- a/tests/integration/build_system/test_pep_517.py +++ b/tests/integration/build_system/test_pep_517.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import pytest diff --git a/tests/integration/build_system/test_pep_518.py b/tests/integration/build_system/test_pep_518.py index c90199802..fadf61f89 100644 --- a/tests/integration/build_system/test_pep_518.py +++ b/tests/integration/build_system/test_pep_518.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/cli/commands/test_export.py b/tests/integration/cli/commands/test_export.py index 8dea4a82b..c7c58aa4e 100644 --- a/tests/integration/cli/commands/test_export.py +++ b/tests/integration/cli/commands/test_export.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/integration/cli/commands/test_export_subset.py b/tests/integration/cli/commands/test_export_subset.py index 95e103c2d..082fd18ae 100644 --- a/tests/integration/cli/commands/test_export_subset.py +++ b/tests/integration/cli/commands/test_export_subset.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/cli/commands/test_interpreter_inspect.py b/tests/integration/cli/commands/test_interpreter_inspect.py index e5778757c..fb1f2a718 100644 --- a/tests/integration/cli/commands/test_interpreter_inspect.py +++ b/tests/integration/cli/commands/test_interpreter_inspect.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/integration/cli/commands/test_issue_1413.py b/tests/integration/cli/commands/test_issue_1413.py index 3a837ff01..054181783 100644 --- a/tests/integration/cli/commands/test_issue_1413.py +++ b/tests/integration/cli/commands/test_issue_1413.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/cli/commands/test_issue_1665.py b/tests/integration/cli/commands/test_issue_1665.py index 362f94a50..360cb0c84 100644 --- a/tests/integration/cli/commands/test_issue_1665.py +++ b/tests/integration/cli/commands/test_issue_1665.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/cli/commands/test_issue_1667.py b/tests/integration/cli/commands/test_issue_1667.py index d3c135e96..bc06cade5 100644 --- a/tests/integration/cli/commands/test_issue_1667.py +++ b/tests/integration/cli/commands/test_issue_1667.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/cli/commands/test_issue_1688.py b/tests/integration/cli/commands/test_issue_1688.py index 6cc14a7e0..f143631c5 100644 --- a/tests/integration/cli/commands/test_issue_1688.py +++ b/tests/integration/cli/commands/test_issue_1688.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/cli/commands/test_issue_1711.py b/tests/integration/cli/commands/test_issue_1711.py index 0c0a40951..c71f8c9b1 100644 --- a/tests/integration/cli/commands/test_issue_1711.py +++ b/tests/integration/cli/commands/test_issue_1711.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/cli/commands/test_issue_1734.py b/tests/integration/cli/commands/test_issue_1734.py index 39eb3a093..011914f67 100644 --- a/tests/integration/cli/commands/test_issue_1734.py +++ b/tests/integration/cli/commands/test_issue_1734.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/cli/commands/test_issue_1741.py b/tests/integration/cli/commands/test_issue_1741.py index 66aef81f6..d340bae87 100644 --- a/tests/integration/cli/commands/test_issue_1741.py +++ b/tests/integration/cli/commands/test_issue_1741.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/integration/cli/commands/test_issue_1801.py b/tests/integration/cli/commands/test_issue_1801.py index bc64fa5dd..de548fe53 100644 --- a/tests/integration/cli/commands/test_issue_1801.py +++ b/tests/integration/cli/commands/test_issue_1801.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/cli/commands/test_issue_1821.py b/tests/integration/cli/commands/test_issue_1821.py index 20766d2ee..0ed143c5e 100644 --- a/tests/integration/cli/commands/test_issue_1821.py +++ b/tests/integration/cli/commands/test_issue_1821.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import itertools diff --git a/tests/integration/cli/commands/test_issue_2050.py b/tests/integration/cli/commands/test_issue_2050.py index 31e189922..b5cfa420e 100644 --- a/tests/integration/cli/commands/test_issue_2050.py +++ b/tests/integration/cli/commands/test_issue_2050.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json import os diff --git a/tests/integration/cli/commands/test_issue_2057.py b/tests/integration/cli/commands/test_issue_2057.py index 36ea080f1..8927ecfff 100644 --- a/tests/integration/cli/commands/test_issue_2057.py +++ b/tests/integration/cli/commands/test_issue_2057.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/cli/commands/test_issue_2059.py b/tests/integration/cli/commands/test_issue_2059.py index 20e035c43..3b9b1bda7 100644 --- a/tests/integration/cli/commands/test_issue_2059.py +++ b/tests/integration/cli/commands/test_issue_2059.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path import sys diff --git a/tests/integration/cli/commands/test_issue_2098.py b/tests/integration/cli/commands/test_issue_2098.py index 6bd88215b..57e3b2398 100644 --- a/tests/integration/cli/commands/test_issue_2098.py +++ b/tests/integration/cli/commands/test_issue_2098.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/integration/cli/commands/test_issue_2211.py b/tests/integration/cli/commands/test_issue_2211.py index 2bb449cdc..9a310d40d 100644 --- a/tests/integration/cli/commands/test_issue_2211.py +++ b/tests/integration/cli/commands/test_issue_2211.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/cli/commands/test_issue_2268.py b/tests/integration/cli/commands/test_issue_2268.py index 159fd6c07..eb9674ea9 100644 --- a/tests/integration/cli/commands/test_issue_2268.py +++ b/tests/integration/cli/commands/test_issue_2268.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path import sys diff --git a/tests/integration/cli/commands/test_local_project_lock.py b/tests/integration/cli/commands/test_local_project_lock.py index 8a2a5904a..2d6dc393d 100644 --- a/tests/integration/cli/commands/test_local_project_lock.py +++ b/tests/integration/cli/commands/test_local_project_lock.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/cli/commands/test_lock.py b/tests/integration/cli/commands/test_lock.py index c2a790dff..05cd83019 100644 --- a/tests/integration/cli/commands/test_lock.py +++ b/tests/integration/cli/commands/test_lock.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json @@ -204,7 +204,7 @@ def test_create_vcs( "create", "--python", python, - "pex @ git+https://github.com/pantsbuild/pex@473c6ac7", + "pex @ git+https://github.com/pex-tool/pex@473c6ac7", "git+https://github.com/VaasuDevanS/cowsay-python@v3.0#egg=cowsay", "-o", lock, diff --git a/tests/integration/cli/commands/test_lock_resolve_auth.py b/tests/integration/cli/commands/test_lock_resolve_auth.py index 469c7f31d..327aec8ad 100644 --- a/tests/integration/cli/commands/test_lock_resolve_auth.py +++ b/tests/integration/cli/commands/test_lock_resolve_auth.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import print_function diff --git a/tests/integration/cli/commands/test_lock_update.py b/tests/integration/cli/commands/test_lock_update.py index 862cf1747..505e6e610 100644 --- a/tests/integration/cli/commands/test_lock_update.py +++ b/tests/integration/cli/commands/test_lock_update.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import itertools diff --git a/tests/integration/cli/commands/test_lock_update_issues_2332_2334.py b/tests/integration/cli/commands/test_lock_update_issues_2332_2334.py index 0a27ebeea..f7679d50f 100644 --- a/tests/integration/cli/commands/test_lock_update_issues_2332_2334.py +++ b/tests/integration/cli/commands/test_lock_update_issues_2332_2334.py @@ -1,4 +1,4 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/cli/commands/test_vcs_lock.py b/tests/integration/cli/commands/test_vcs_lock.py index 8aed61f0d..717851706 100644 --- a/tests/integration/cli/commands/test_vcs_lock.py +++ b/tests/integration/cli/commands/test_vcs_lock.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import filecmp diff --git a/tests/integration/cli/commands/test_venv_create.py b/tests/integration/cli/commands/test_venv_create.py index 1bac2099f..71367bd31 100644 --- a/tests/integration/cli/commands/test_venv_create.py +++ b/tests/integration/cli/commands/test_venv_create.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/integration/cli/commands/test_venv_inspect.py b/tests/integration/cli/commands/test_venv_inspect.py index 7d477ad6d..958aca634 100644 --- a/tests/integration/cli/commands/test_venv_inspect.py +++ b/tests/integration/cli/commands/test_venv_inspect.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index d7e42eef3..c709fb478 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/integration/resolve/__init__.py b/tests/integration/resolve/__init__.py index f8a3827f7..3a5891b8f 100644 --- a/tests/integration/resolve/__init__.py +++ b/tests/integration/resolve/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/tests/integration/resolve/pep_691/__init__.py b/tests/integration/resolve/pep_691/__init__.py index f8a3827f7..3a5891b8f 100644 --- a/tests/integration/resolve/pep_691/__init__.py +++ b/tests/integration/resolve/pep_691/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/tests/integration/resolve/pep_691/test_api.py b/tests/integration/resolve/pep_691/test_api.py index c265c89be..2f0346d13 100644 --- a/tests/integration/resolve/pep_691/test_api.py +++ b/tests/integration/resolve/pep_691/test_api.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import re diff --git a/tests/integration/resolve/test_issue_1918.py b/tests/integration/resolve/test_issue_1918.py index d55953dab..ac1ee1c8c 100644 --- a/tests/integration/resolve/test_issue_1918.py +++ b/tests/integration/resolve/test_issue_1918.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import itertools diff --git a/tests/integration/resolve/test_issue_2092.py b/tests/integration/resolve/test_issue_2092.py index d9c185082..8536f6ecc 100644 --- a/tests/integration/resolve/test_issue_2092.py +++ b/tests/integration/resolve/test_issue_2092.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path @@ -87,5 +87,5 @@ def test_vcs_respects_target( # # Ideally, Pex could include lock information for each sdist in a lock that utilized PEP-518 # and then use that information when building wheels from those locked sdists to form a PEX. - # See: https://github.com/pantsbuild/pex/issues/2100 + # See: https://github.com/pex-tool/pex/issues/2100 assert ["emote_rl-23.0.0-py3-none-any.whl"] == list(PexInfo.from_pex(pex).distributions) diff --git a/tests/integration/test_downloads.py b/tests/integration/test_downloads.py index 6249b34a6..582d4005c 100644 --- a/tests/integration/test_downloads.py +++ b/tests/integration/test_downloads.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import hashlib import os.path diff --git a/tests/integration/test_excludes.py b/tests/integration/test_excludes.py index 6f1cd0672..83fbf9677 100644 --- a/tests/integration/test_excludes.py +++ b/tests/integration/test_excludes.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_executuon_mode_venv.py b/tests/integration/test_executuon_mode_venv.py index 89fbc69a8..808add001 100644 --- a/tests/integration/test_executuon_mode_venv.py +++ b/tests/integration/test_executuon_mode_venv.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/integration/test_inject_env_and_args.py b/tests/integration/test_inject_env_and_args.py index 26cb2229e..976fd0076 100644 --- a/tests/integration/test_inject_env_and_args.py +++ b/tests/integration/test_inject_env_and_args.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import hashlib diff --git a/tests/integration/test_integration.py b/tests/integration/test_integration.py index 7094230ba..d5165de1d 100644 --- a/tests/integration/test_integration.py +++ b/tests/integration/test_integration.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/tests/integration/test_interpreter.py b/tests/integration/test_interpreter.py index dbc62cf23..89bbaa2d8 100644 --- a/tests/integration/test_interpreter.py +++ b/tests/integration/test_interpreter.py @@ -1,4 +1,4 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path import subprocess diff --git a/tests/integration/test_interpreter_selection.py b/tests/integration/test_interpreter_selection.py index 9db453738..bb0250670 100644 --- a/tests/integration/test_interpreter_selection.py +++ b/tests/integration/test_interpreter_selection.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os @@ -404,7 +404,7 @@ def test_interpreter_selection_using_os_environ_for_bootstrap_reexec( selection logic and validate a corresponding bugfix. More details on the nature of the bug can be found at: - https://github.com/pantsbuild/pex/pull/441 + https://github.com/pex-tool/pex/pull/441 """ td = os.path.join(str(tmpdir), "tester_project") pexrc_path = os.path.join(td, ".pexrc") diff --git a/tests/integration/test_issue_1017.py b/tests/integration/test_issue_1017.py index d7e92011e..66757d4d3 100644 --- a/tests/integration/test_issue_1017.py +++ b/tests/integration/test_issue_1017.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1018.py b/tests/integration/test_issue_1018.py index 15d8ce13b..875bfb0f0 100644 --- a/tests/integration/test_issue_1018.py +++ b/tests/integration/test_issue_1018.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1025.py b/tests/integration/test_issue_1025.py index d2cebd1ad..6cbc2de00 100644 --- a/tests/integration/test_issue_1025.py +++ b/tests/integration/test_issue_1025.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import errno diff --git a/tests/integration/test_issue_1031.py b/tests/integration/test_issue_1031.py index d6284ce46..60686db07 100644 --- a/tests/integration/test_issue_1031.py +++ b/tests/integration/test_issue_1031.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1179.py b/tests/integration/test_issue_1179.py index 76178a062..f03b07b71 100644 --- a/tests/integration/test_issue_1179.py +++ b/tests/integration/test_issue_1179.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import sys diff --git a/tests/integration/test_issue_1201.py b/tests/integration/test_issue_1201.py index 9ba695dc7..6430ac576 100644 --- a/tests/integration/test_issue_1201.py +++ b/tests/integration/test_issue_1201.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1202.py b/tests/integration/test_issue_1202.py index 7d4ba5ba0..830418e16 100644 --- a/tests/integration/test_issue_1202.py +++ b/tests/integration/test_issue_1202.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_1218.py b/tests/integration/test_issue_1218.py index fceeedb40..8ee9a9f8b 100644 --- a/tests/integration/test_issue_1218.py +++ b/tests/integration/test_issue_1218.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1225.py b/tests/integration/test_issue_1225.py index 9d2fd96d2..e81ccad97 100644 --- a/tests/integration/test_issue_1225.py +++ b/tests/integration/test_issue_1225.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1232.py b/tests/integration/test_issue_1232.py index 0521db026..c92e3e2ac 100644 --- a/tests/integration/test_issue_1232.py +++ b/tests/integration/test_issue_1232.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1302.py b/tests/integration/test_issue_1302.py index 656922713..1f63c43ff 100644 --- a/tests/integration/test_issue_1302.py +++ b/tests/integration/test_issue_1302.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/integration/test_issue_1316.py b/tests/integration/test_issue_1316.py index 5eeebb515..ab13c1997 100644 --- a/tests/integration/test_issue_1316.py +++ b/tests/integration/test_issue_1316.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1336.py b/tests/integration/test_issue_1336.py index 1dc61352c..ba59c9a8f 100644 --- a/tests/integration/test_issue_1336.py +++ b/tests/integration/test_issue_1336.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1422.py b/tests/integration/test_issue_1422.py index db9b08260..120a5e57e 100644 --- a/tests/integration/test_issue_1422.py +++ b/tests/integration/test_issue_1422.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1447.py b/tests/integration/test_issue_1447.py index 882e198ef..c50e1c04e 100644 --- a/tests/integration/test_issue_1447.py +++ b/tests/integration/test_issue_1447.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os import shutil diff --git a/tests/integration/test_issue_1479.py b/tests/integration/test_issue_1479.py index e583af4de..fa788874e 100644 --- a/tests/integration/test_issue_1479.py +++ b/tests/integration/test_issue_1479.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_1520.py b/tests/integration/test_issue_1520.py index 7d790dbe6..13c0dab18 100644 --- a/tests/integration/test_issue_1520.py +++ b/tests/integration/test_issue_1520.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os @@ -34,7 +34,7 @@ def test_hermetic_console_scripts(tmpdir): # type: (Any) -> None # N.B.: See pex/vendor/_vendored/pip/pip/_vendor/distlib/scripts.py lines 127-156. - # https://github.com/pantsbuild/pex/blob/196b4cd5b8dd4b4af2586460530e9a777262be7d/pex/vendor/_vendored/pip/pip/_vendor/distlib/scripts.py#L127-L156 + # https://github.com/pex-tool/pex/blob/196b4cd5b8dd4b4af2586460530e9a777262be7d/pex/vendor/_vendored/pip/pip/_vendor/distlib/scripts.py#L127-L156 length_pad = 127 if IS_LINUX else 512 pex_root = os.path.join(str(tmpdir), "_" * length_pad, "pex_root") assert len(pex_root) > length_pad diff --git a/tests/integration/test_issue_1537.py b/tests/integration/test_issue_1537.py index a3af58b3f..fcff3e1d1 100644 --- a/tests/integration/test_issue_1537.py +++ b/tests/integration/test_issue_1537.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path @@ -26,7 +26,7 @@ def test_rel_cert_path( "http://localhost:{port}".format(port=port), "--cert", "cert", - # N.B.: The original issue (https://github.com/pantsbuild/pex/issues/1537) involved + # N.B.: The original issue (https://github.com/pex-tool/pex/issues/1537) involved # avro-python3 1.10.0, but that distribution utilizes setup_requires which leads to # issues in CI for Mac. We use the Python 2/3 version of the same distribution # instead, which had setup_requires removed in diff --git a/tests/integration/test_issue_1540.py b/tests/integration/test_issue_1540.py index d2bdf73ac..74b12d386 100644 --- a/tests/integration/test_issue_1540.py +++ b/tests/integration/test_issue_1540.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/integration/test_issue_1550.py b/tests/integration/test_issue_1550.py index f0896512b..e9035a135 100644 --- a/tests/integration/test_issue_1550.py +++ b/tests/integration/test_issue_1550.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path import subprocess diff --git a/tests/integration/test_issue_1560.py b/tests/integration/test_issue_1560.py index 70a4cb16c..0541ed3e5 100644 --- a/tests/integration/test_issue_1560.py +++ b/tests/integration/test_issue_1560.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_1597.py b/tests/integration/test_issue_1597.py index 8d26404d4..96cfc6d68 100644 --- a/tests/integration/test_issue_1597.py +++ b/tests/integration/test_issue_1597.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/integration/test_issue_1598.py b/tests/integration/test_issue_1598.py index c0fcc9463..c985c4f9e 100644 --- a/tests/integration/test_issue_1598.py +++ b/tests/integration/test_issue_1598.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1656.py b/tests/integration/test_issue_1656.py index bd9991852..2d285c1e7 100644 --- a/tests/integration/test_issue_1656.py +++ b/tests/integration/test_issue_1656.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1683.py b/tests/integration/test_issue_1683.py index d6889b990..b22b144c0 100644 --- a/tests/integration/test_issue_1683.py +++ b/tests/integration/test_issue_1683.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_1726.py b/tests/integration/test_issue_1726.py index f53b26eb3..858fc882c 100644 --- a/tests/integration/test_issue_1726.py +++ b/tests/integration/test_issue_1726.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/integration/test_issue_1730.py b/tests/integration/test_issue_1730.py index fa410dbbc..88e8520c9 100644 --- a/tests/integration/test_issue_1730.py +++ b/tests/integration/test_issue_1730.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function diff --git a/tests/integration/test_issue_1802.py b/tests/integration/test_issue_1802.py index 6e3b645ce..0754debe6 100644 --- a/tests/integration/test_issue_1802.py +++ b/tests/integration/test_issue_1802.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path import subprocess diff --git a/tests/integration/test_issue_1809.py b/tests/integration/test_issue_1809.py index 3d4161883..412f02c11 100644 --- a/tests/integration/test_issue_1809.py +++ b/tests/integration/test_issue_1809.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path @@ -77,7 +77,7 @@ def test_excepthook_scrubbing(tmpdir): create_pex_args = ["-D", src, "-m", "app", "-o", pex] # Ensure this complicated test setup reproduces the original error in - # https://github.com/pantsbuild/pex/issues/1809 + # https://github.com/pex-tool/pex/issues/1809 # (via https://github.com/pantsbuild/pants/issues/15877). run_pex_command(args=["pex==2.1.92", "-c", "pex", "--"] + create_pex_args).assert_success() diff --git a/tests/integration/test_issue_1817.py b/tests/integration/test_issue_1817.py index bef460562..34129586c 100644 --- a/tests/integration/test_issue_1817.py +++ b/tests/integration/test_issue_1817.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1825.py b/tests/integration/test_issue_1825.py index e978a7fb9..b04cc8556 100644 --- a/tests/integration/test_issue_1825.py +++ b/tests/integration/test_issue_1825.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/integration/test_issue_1856.py b/tests/integration/test_issue_1856.py index 9d9744033..bc581fbae 100644 --- a/tests/integration/test_issue_1856.py +++ b/tests/integration/test_issue_1856.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os @@ -43,7 +43,7 @@ def test_os_name_spoofing(tmpdir): # we can't build the pywinpty sdist to extract needed resolve metadata from it. # # For more info on this corner to reproducing the prior failure, see: - # https://github.com/pantsbuild/pex/issues/1856#issuecomment-1193054493 + # https://github.com/pex-tool/pex/issues/1856#issuecomment-1193054493 env = make_env(RUSTC=os.devnull) # The above attempt to get pywinpty dependency metadata by building the sdist requires a diff --git a/tests/integration/test_issue_1861.py b/tests/integration/test_issue_1861.py index 3e5d5bdd0..ba8a193f0 100644 --- a/tests/integration/test_issue_1861.py +++ b/tests/integration/test_issue_1861.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1870.py b/tests/integration/test_issue_1870.py index 6b48b5b94..57fb3d553 100644 --- a/tests/integration/test_issue_1870.py +++ b/tests/integration/test_issue_1870.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1872.py b/tests/integration/test_issue_1872.py index db06d0fc5..3bb85dcba 100644 --- a/tests/integration/test_issue_1872.py +++ b/tests/integration/test_issue_1872.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1879.py b/tests/integration/test_issue_1879.py index ecc59ac9d..628354497 100644 --- a/tests/integration/test_issue_1879.py +++ b/tests/integration/test_issue_1879.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_1933.py b/tests/integration/test_issue_1933.py index 1bfef8943..dc086af1c 100644 --- a/tests/integration/test_issue_1933.py +++ b/tests/integration/test_issue_1933.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_1936.py b/tests/integration/test_issue_1936.py index af8f722e7..b5fddc5d8 100644 --- a/tests/integration/test_issue_1936.py +++ b/tests/integration/test_issue_1936.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_1949.py b/tests/integration/test_issue_1949.py index 5ce574d85..c123614b6 100644 --- a/tests/integration/test_issue_1949.py +++ b/tests/integration/test_issue_1949.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_1995.py b/tests/integration/test_issue_1995.py index b1925e78a..6af3aaf69 100644 --- a/tests/integration/test_issue_1995.py +++ b/tests/integration/test_issue_1995.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_2006.py b/tests/integration/test_issue_2006.py index 57a5fe54f..fd5dd909d 100644 --- a/tests/integration/test_issue_2006.py +++ b/tests/integration/test_issue_2006.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_2023.py b/tests/integration/test_issue_2023.py index 78ed7d3c7..a0432ddd5 100644 --- a/tests/integration/test_issue_2023.py +++ b/tests/integration/test_issue_2023.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_2038.py b/tests/integration/test_issue_2038.py index 80472bfd7..58dd4e205 100644 --- a/tests/integration/test_issue_2038.py +++ b/tests/integration/test_issue_2038.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import print_function diff --git a/tests/integration/test_issue_2073.py b/tests/integration/test_issue_2073.py index 34d7d027f..6e8350e68 100644 --- a/tests/integration/test_issue_2073.py +++ b/tests/integration/test_issue_2073.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_2087.py b/tests/integration/test_issue_2087.py index 2c0e870ca..2f9c02797 100644 --- a/tests/integration/test_issue_2087.py +++ b/tests/integration/test_issue_2087.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/integration/test_issue_2088.py b/tests/integration/test_issue_2088.py index 65b1df05c..2e7aae017 100644 --- a/tests/integration/test_issue_2088.py +++ b/tests/integration/test_issue_2088.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path import subprocess diff --git a/tests/integration/test_issue_2134.py b/tests/integration/test_issue_2134.py index 49af16987..21e177568 100644 --- a/tests/integration/test_issue_2134.py +++ b/tests/integration/test_issue_2134.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_2183.py b/tests/integration/test_issue_2183.py index 78ebc67ba..1ee1ef273 100644 --- a/tests/integration/test_issue_2183.py +++ b/tests/integration/test_issue_2183.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_2186.py b/tests/integration/test_issue_2186.py index 948bc21a4..11d6d7156 100644 --- a/tests/integration/test_issue_2186.py +++ b/tests/integration/test_issue_2186.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from textwrap import dedent diff --git a/tests/integration/test_issue_2203.py b/tests/integration/test_issue_2203.py index cad538d8d..a7312e62e 100644 --- a/tests/integration/test_issue_2203.py +++ b/tests/integration/test_issue_2203.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_issue_2324.py b/tests/integration/test_issue_2324.py index 5f0403b4f..47295cf6e 100644 --- a/tests/integration/test_issue_2324.py +++ b/tests/integration/test_issue_2324.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import print_function @@ -65,10 +65,10 @@ def assert_lock(*pins): # expected to be unmodified by the lock update. # # E Traceback (most recent call last): - # E File "/home/jsirois/dev/pantsbuild/jsirois-pex/pex/result.py", line 105, in catch + # E File "/home/jsirois/dev/pex-tool/pex/pex/result.py", line 105, in catch # E return func(*args, **kwargs) # E ^^^^^^^^^^^^^^^^^^^^^ - # E File "/home/jsirois/dev/pantsbuild/jsirois-pex/pex/resolve/lockfile/updater.py", line 320, in update_resolve + # E File "/home/jsirois/dev/pex-tool/pex/pex/resolve/lockfile/updater.py", line 320, in update_resolve # E assert updated_requirement.artifact == locked_requirement.artifact # E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # E AssertionError diff --git a/tests/integration/test_issue_2343.py b/tests/integration/test_issue_2343.py index da985a487..8bc7fccba 100644 --- a/tests/integration/test_issue_2343.py +++ b/tests/integration/test_issue_2343.py @@ -1,4 +1,4 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_2348.py b/tests/integration/test_issue_2348.py index 646819683..38fc9b50b 100644 --- a/tests/integration/test_issue_2348.py +++ b/tests/integration/test_issue_2348.py @@ -1,4 +1,4 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import print_function diff --git a/tests/integration/test_issue_2355.py b/tests/integration/test_issue_2355.py index e404cc6ef..1271dda0f 100644 --- a/tests/integration/test_issue_2355.py +++ b/tests/integration/test_issue_2355.py @@ -1,4 +1,4 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_434.py b/tests/integration/test_issue_434.py index 9a7b45715..d11cbbc32 100644 --- a/tests/integration/test_issue_434.py +++ b/tests/integration/test_issue_434.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os @@ -9,7 +9,7 @@ def test_entry_point_targeting(): # type: () -> None - """Test bugfix for https://github.com/pantsbuild/pex/issues/434.""" + """Test bugfix for https://github.com/pex-tool/pex/issues/434.""" with temporary_dir() as td: pexrc_path = os.path.join(td, ".pexrc") with open(pexrc_path, "w") as pexrc: diff --git a/tests/integration/test_issue_539.py b/tests/integration/test_issue_539.py index 27488077a..1f689ff91 100644 --- a/tests/integration/test_issue_539.py +++ b/tests/integration/test_issue_539.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import glob diff --git a/tests/integration/test_issue_598.py b/tests/integration/test_issue_598.py index 8ea342f8c..5237d8e94 100644 --- a/tests/integration/test_issue_598.py +++ b/tests/integration/test_issue_598.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_661.py b/tests/integration/test_issue_661.py index 70ffbf7f4..b964adb27 100644 --- a/tests/integration/test_issue_661.py +++ b/tests/integration/test_issue_661.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os @@ -23,7 +23,7 @@ def test_devendoring_required(): # type: () -> None # The cryptography distribution does not have a whl released for python3 on linux at version 2.5. # As a result, we're forced to build it under python3 and, prior to the fix for - # https://github.com/pantsbuild/pex/issues/661, this would fail using the vendored setuptools + # https://github.com/pex-tool/pex/issues/661, this would fail using the vendored setuptools # inside pex. with temporary_dir() as td: cryptography_pex = os.path.join(td, "cryptography.pex") diff --git a/tests/integration/test_issue_729.py b/tests/integration/test_issue_729.py index 12a682d92..93c69765a 100644 --- a/tests/integration/test_issue_729.py +++ b/tests/integration/test_issue_729.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import print_function @@ -28,7 +28,7 @@ def test_undeclared_setuptools_import_on_pex_path(tmpdir): # type: (Any) -> None """Test that packages which access pkg_resources at import time can be found with pkg_resources. - See https://github.com/pantsbuild/pex/issues/729 for context. We warn when a package accesses + See https://github.com/pex-tool/pex/issues/729 for context. We warn when a package accesses pkg_resources without declaring it in install_requires, but we also want to check that those packages can be accessed successfully via the PEX_PATH. """ diff --git a/tests/integration/test_issue_736.py b/tests/integration/test_issue_736.py index 64f424a94..4d618fa53 100644 --- a/tests/integration/test_issue_736.py +++ b/tests/integration/test_issue_736.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_745.py b/tests/integration/test_issue_745.py index aae6d78b4..2763b48b7 100644 --- a/tests/integration/test_issue_745.py +++ b/tests/integration/test_issue_745.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_749.py b/tests/integration/test_issue_749.py index da7e3987d..6fe0e1147 100644 --- a/tests/integration/test_issue_749.py +++ b/tests/integration/test_issue_749.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os @@ -12,7 +12,7 @@ def test_pkg_resource_early_import_on_pex_path(): # type: () -> None """Test that packages which access pkg_resources at import time can be found with pkg_resources. - See https://github.com/pantsbuild/pex/issues/749 for context. We only declare namespace packages + See https://github.com/pex-tool/pex/issues/749 for context. We only declare namespace packages once all environments have been resolved including ones passed in via PEX_PATH. This avoids importing pkg_resources too early which is potentially impactful with packages interacting with pkg_resources at import time. diff --git a/tests/integration/test_issue_898.py b/tests/integration/test_issue_898.py index 62d7bd267..e7051472c 100644 --- a/tests/integration/test_issue_898.py +++ b/tests/integration/test_issue_898.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_899.py b/tests/integration/test_issue_899.py index 937e30afe..ae3c5612e 100644 --- a/tests/integration/test_issue_899.py +++ b/tests/integration/test_issue_899.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_940.py b/tests/integration/test_issue_940.py index 3e74ce9b5..5e1453888 100644 --- a/tests/integration/test_issue_940.py +++ b/tests/integration/test_issue_940.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_issue_996.py b/tests/integration/test_issue_996.py index 5d4db68ae..4f9a72e56 100644 --- a/tests/integration/test_issue_996.py +++ b/tests/integration/test_issue_996.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import multiprocessing diff --git a/tests/integration/test_layout.py b/tests/integration/test_layout.py index 356ebd34a..305fcbb23 100644 --- a/tests/integration/test_layout.py +++ b/tests/integration/test_layout.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/test_lock_resolver.py b/tests/integration/test_lock_resolver.py index fb471b6a5..7122f24b6 100644 --- a/tests/integration/test_lock_resolver.py +++ b/tests/integration/test_lock_resolver.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import glob diff --git a/tests/integration/test_locked_resolve.py b/tests/integration/test_locked_resolve.py index 20ea76de9..4f33872df 100644 --- a/tests/integration/test_locked_resolve.py +++ b/tests/integration/test_locked_resolve.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import hashlib diff --git a/tests/integration/test_no_pre_install_wheels.py b/tests/integration/test_no_pre_install_wheels.py index 1cc4b95b7..95f530146 100644 --- a/tests/integration/test_no_pre_install_wheels.py +++ b/tests/integration/test_no_pre_install_wheels.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import hashlib import os diff --git a/tests/integration/test_pep_427.py b/tests/integration/test_pep_427.py index dd0f9083e..26685e215 100644 --- a/tests/integration/test_pep_427.py +++ b/tests/integration/test_pep_427.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_pex_bootstrapper.py b/tests/integration/test_pex_bootstrapper.py index 640b8ac1c..bed2ffa43 100644 --- a/tests/integration/test_pex_bootstrapper.py +++ b/tests/integration/test_pex_bootstrapper.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path @@ -281,8 +281,8 @@ def assert_boot(python=None): # interpreter. If the current interpreter is in a venv though, we expect the PEX bootstrap # to have broken out of the venv and used its base system interpreter. # See: - # https://github.com/pantsbuild/pex/pull/1130 - # https://github.com/pantsbuild/pex/issues/1031 + # https://github.com/pex-tool/pex/pull/1130 + # https://github.com/pex-tool/pex/issues/1031 assert ( PythonInterpreter.get().resolve_base_interpreter() == PythonInterpreter.from_binary( @@ -351,8 +351,8 @@ def test_boot_compatible_issue_1020_ic_min_compatible_build_time_hole(tmpdir): # interpreter. If the max interpreter is in a venv though, we expect the PEX bootstrap # to have broken out of the venv and used its base system interpreter. # See: - # https://github.com/pantsbuild/pex/pull/1130 - # https://github.com/pantsbuild/pex/issues/1031 + # https://github.com/pex-tool/pex/pull/1130 + # https://github.com/pex-tool/pex/issues/1031 assert ( max_interpreter.resolve_base_interpreter() == PythonInterpreter.from_binary( diff --git a/tests/integration/test_pex_entry_points.py b/tests/integration/test_pex_entry_points.py index b44730c15..e99aa504d 100644 --- a/tests/integration/test_pex_entry_points.py +++ b/tests/integration/test_pex_entry_points.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_pex_import.py b/tests/integration/test_pex_import.py index aed2b1920..36dc32af5 100644 --- a/tests/integration/test_pex_import.py +++ b/tests/integration/test_pex_import.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/test_reexec.py b/tests/integration/test_reexec.py index db1529296..84ce63c9e 100644 --- a/tests/integration/test_reexec.py +++ b/tests/integration/test_reexec.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/integration/test_reproducible.py b/tests/integration/test_reproducible.py index aab05c84b..f84cd131b 100644 --- a/tests/integration/test_reproducible.py +++ b/tests/integration/test_reproducible.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import filecmp diff --git a/tests/integration/test_setproctitle.py b/tests/integration/test_setproctitle.py index d26b36dc8..74e41b59d 100644 --- a/tests/integration/test_setproctitle.py +++ b/tests/integration/test_setproctitle.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path import subprocess diff --git a/tests/integration/test_sh_boot.py b/tests/integration/test_sh_boot.py index 12f93ea68..00aca4848 100644 --- a/tests/integration/test_sh_boot.py +++ b/tests/integration/test_sh_boot.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json @@ -243,6 +243,6 @@ def main(): assert pex == data.pop("PEX") assert "app.py" == os.path.basename(data.pop("argv0")), ( "When executing modules we expect runpy.run_module to `alter_sys` in order to support " - "pickling and other use cases as outlined in https://github.com/pantsbuild/pex/issues/1018." + "pickling and other use cases as outlined in https://github.com/pex-tool/pex/issues/1018." ) assert {} == data diff --git a/tests/integration/test_shebang_length_limit.py b/tests/integration/test_shebang_length_limit.py index 77517cb19..fa4928e36 100644 --- a/tests/integration/test_shebang_length_limit.py +++ b/tests/integration/test_shebang_length_limit.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/integration/test_variables.py b/tests/integration/test_variables.py index 645f02e5c..582e168b1 100644 --- a/tests/integration/test_variables.py +++ b/tests/integration/test_variables.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/tools/commands/test_issue_2105.py b/tests/integration/tools/commands/test_issue_2105.py index 4f65d15c7..33719031e 100644 --- a/tests/integration/tools/commands/test_issue_2105.py +++ b/tests/integration/tools/commands/test_issue_2105.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/tools/commands/test_venv.py b/tests/integration/tools/commands/test_venv.py index 5a92e6ec5..3974bb51d 100644 --- a/tests/integration/tools/commands/test_venv.py +++ b/tests/integration/tools/commands/test_venv.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/venv_ITs/test_issue_1630.py b/tests/integration/venv_ITs/test_issue_1630.py index 2dfe1510c..83b441fd4 100644 --- a/tests/integration/venv_ITs/test_issue_1630.py +++ b/tests/integration/venv_ITs/test_issue_1630.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/integration/venv_ITs/test_issue_1637.py b/tests/integration/venv_ITs/test_issue_1637.py index 5933ab197..c03b884e8 100644 --- a/tests/integration/venv_ITs/test_issue_1637.py +++ b/tests/integration/venv_ITs/test_issue_1637.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/venv_ITs/test_issue_1641.py b/tests/integration/venv_ITs/test_issue_1641.py index c4e2f5f0a..c9f4ed8d5 100644 --- a/tests/integration/venv_ITs/test_issue_1641.py +++ b/tests/integration/venv_ITs/test_issue_1641.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path import subprocess diff --git a/tests/integration/venv_ITs/test_issue_1668.py b/tests/integration/venv_ITs/test_issue_1668.py index 480ec2dec..4e10069a3 100644 --- a/tests/integration/venv_ITs/test_issue_1668.py +++ b/tests/integration/venv_ITs/test_issue_1668.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/integration/venv_ITs/test_issue_1745.py b/tests/integration/venv_ITs/test_issue_1745.py index 521cf0476..cf0e2cb61 100644 --- a/tests/integration/venv_ITs/test_issue_1745.py +++ b/tests/integration/venv_ITs/test_issue_1745.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/venv_ITs/test_issue_2065.py b/tests/integration/venv_ITs/test_issue_2065.py index 7159b25b3..635bb0e55 100644 --- a/tests/integration/venv_ITs/test_issue_2065.py +++ b/tests/integration/venv_ITs/test_issue_2065.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/integration/venv_ITs/test_issue_2160.py b/tests/integration/venv_ITs/test_issue_2160.py index dfbc25024..7f3bc433d 100644 --- a/tests/integration/venv_ITs/test_issue_2160.py +++ b/tests/integration/venv_ITs/test_issue_2160.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path import subprocess diff --git a/tests/integration/venv_ITs/test_issue_2248.py b/tests/integration/venv_ITs/test_issue_2248.py index f63537918..07ed245b7 100644 --- a/tests/integration/venv_ITs/test_issue_2248.py +++ b/tests/integration/venv_ITs/test_issue_2248.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/integration/venv_ITs/test_virtualenv.py b/tests/integration/venv_ITs/test_virtualenv.py index 818823ae2..17845af83 100644 --- a/tests/integration/venv_ITs/test_virtualenv.py +++ b/tests/integration/venv_ITs/test_virtualenv.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/pip/test_tailer.py b/tests/pip/test_tailer.py index 0dcc0de26..f4af7cade 100644 --- a/tests/pip/test_tailer.py +++ b/tests/pip/test_tailer.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/pip/test_version.py b/tests/pip/test_version.py index d112cbf63..12edd0cf2 100644 --- a/tests/pip/test_version.py +++ b/tests/pip/test_version.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from pex.pip.version import PipVersion diff --git a/tests/resolve/__init__.py b/tests/resolve/__init__.py index 87308fe2b..69322168a 100644 --- a/tests/resolve/__init__.py +++ b/tests/resolve/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/tests/resolve/conftest.py b/tests/resolve/conftest.py index 9a1118f27..fcfe354ad 100644 --- a/tests/resolve/conftest.py +++ b/tests/resolve/conftest.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from argparse import ArgumentParser diff --git a/tests/resolve/lockfile/__init__.py b/tests/resolve/lockfile/__init__.py index f8a3827f7..3a5891b8f 100644 --- a/tests/resolve/lockfile/__init__.py +++ b/tests/resolve/lockfile/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/tests/resolve/lockfile/test_download_manager.py b/tests/resolve/lockfile/test_download_manager.py index 458e6151a..1b0efc41e 100644 --- a/tests/resolve/lockfile/test_download_manager.py +++ b/tests/resolve/lockfile/test_download_manager.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/resolve/lockfile/test_json_codec.py b/tests/resolve/lockfile/test_json_codec.py index b76ac5324..e71cf058d 100644 --- a/tests/resolve/lockfile/test_json_codec.py +++ b/tests/resolve/lockfile/test_json_codec.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/resolve/lockfile/test_lockfile.py b/tests/resolve/lockfile/test_lockfile.py index effc36776..92c766c98 100644 --- a/tests/resolve/lockfile/test_lockfile.py +++ b/tests/resolve/lockfile/test_lockfile.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/resolve/pep_691/__init__.py b/tests/resolve/pep_691/__init__.py index f8a3827f7..3a5891b8f 100644 --- a/tests/resolve/pep_691/__init__.py +++ b/tests/resolve/pep_691/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/tests/resolve/pep_691/test_api.py b/tests/resolve/pep_691/test_api.py index 8f79b0b59..5d1b711d9 100644 --- a/tests/resolve/pep_691/test_api.py +++ b/tests/resolve/pep_691/test_api.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/resolve/pep_691/test_fingerprint_service.py b/tests/resolve/pep_691/test_fingerprint_service.py index 9de64df19..85bb9f3c6 100644 --- a/tests/resolve/pep_691/test_fingerprint_service.py +++ b/tests/resolve/pep_691/test_fingerprint_service.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/resolve/pep_691/test_model.py b/tests/resolve/pep_691/test_model.py index 932017213..fbd58c643 100644 --- a/tests/resolve/pep_691/test_model.py +++ b/tests/resolve/pep_691/test_model.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import hashlib import itertools diff --git a/tests/resolve/test_locked_resolve.py b/tests/resolve/test_locked_resolve.py index cb412921d..bad2d6b2d 100644 --- a/tests/resolve/test_locked_resolve.py +++ b/tests/resolve/test_locked_resolve.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from textwrap import dedent @@ -883,25 +883,25 @@ def test_vcs_artifact(): # type: () -> None artifact = Artifact.from_url( - url="git+https://github.com/pantsbuild/pex", + url="git+https://github.com/pex-tool/pex", fingerprint=Fingerprint(algorithm="md5", hash="bar"), ) assert isinstance(artifact, VCSArtifact) assert VCS.Git is artifact.vcs assert artifact.is_source - assert "pex @ git+https://github.com/pantsbuild/pex" == artifact.as_unparsed_requirement( + assert "pex @ git+https://github.com/pex-tool/pex" == artifact.as_unparsed_requirement( ProjectName("pex") ) artifact = Artifact.from_url( - url="hg+https://github.com/pantsbuild/pex#egg=pex&subdirectory=.", + url="hg+https://github.com/pex-tool/pex#egg=pex&subdirectory=.", fingerprint=Fingerprint(algorithm="sha1", hash="bar"), ) assert isinstance(artifact, VCSArtifact) assert VCS.Mercurial is artifact.vcs assert artifact.is_source assert ( - "hg+https://github.com/pantsbuild/pex#egg=pex&subdirectory=." + "hg+https://github.com/pex-tool/pex#egg=pex&subdirectory=." == artifact.as_unparsed_requirement(ProjectName("pex")) ) diff --git a/tests/resolve/test_locker.py b/tests/resolve/test_locker.py index 71d01d55b..26764f6e7 100644 --- a/tests/resolve/test_locker.py +++ b/tests/resolve/test_locker.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from pex.resolve.locker import CredentialedURL, Credentials, Netloc diff --git a/tests/resolve/test_path_mappings.py b/tests/resolve/test_path_mappings.py index 4be765a5a..f7e0924fd 100644 --- a/tests/resolve/test_path_mappings.py +++ b/tests/resolve/test_path_mappings.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import re diff --git a/tests/resolve/test_pex_repository_resolver.py b/tests/resolve/test_pex_repository_resolver.py index 7c9bb66d2..a8c165f24 100644 --- a/tests/resolve/test_pex_repository_resolver.py +++ b/tests/resolve/test_pex_repository_resolver.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/resolve/test_resolved_requirement.py b/tests/resolve/test_resolved_requirement.py index cc49fed91..b0a6c32e1 100644 --- a/tests/resolve/test_resolved_requirement.py +++ b/tests/resolve/test_resolved_requirement.py @@ -1,4 +1,4 @@ -# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2024 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from pex.requirements import ArchiveScheme diff --git a/tests/resolve/test_resolver_options.py b/tests/resolve/test_resolver_options.py index c3698cfec..261fe78b5 100644 --- a/tests/resolve/test_resolver_options.py +++ b/tests/resolve/test_resolver_options.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import re diff --git a/tests/resolve/test_target_options.py b/tests/resolve/test_target_options.py index 91e6ea8c5..cf1167672 100644 --- a/tests/resolve/test_target_options.py +++ b/tests/resolve/test_target_options.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import itertools diff --git a/tests/test_atomic_directory.py b/tests/test_atomic_directory.py index 97cf2a07e..771b37ceb 100644 --- a/tests/test_atomic_directory.py +++ b/tests/test_atomic_directory.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import errno diff --git a/tests/test_bdist_pex.py b/tests/test_bdist_pex.py index b05103bb1..cd5d35d80 100644 --- a/tests/test_bdist_pex.py +++ b/tests/test_bdist_pex.py @@ -1,4 +1,4 @@ -# Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2016 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/test_common.py b/tests/test_common.py index b71d7cf89..96ce3ade8 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -1,4 +1,4 @@ -# Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2016 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import contextlib diff --git a/tests/test_compatibility.py b/tests/test_compatibility.py index f8936fc66..45f9af85f 100644 --- a/tests/test_compatibility.py +++ b/tests/test_compatibility.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import pytest diff --git a/tests/test_compiler.py b/tests/test_compiler.py index 21361e737..5ddd4bfa5 100644 --- a/tests/test_compiler.py +++ b/tests/test_compiler.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import contextlib diff --git a/tests/test_dependency_manager.py b/tests/test_dependency_manager.py index 98648f9e4..f7def0af7 100644 --- a/tests/test_dependency_manager.py +++ b/tests/test_dependency_manager.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import hashlib diff --git a/tests/test_dist_metadata.py b/tests/test_dist_metadata.py index 40880368c..a7693ce45 100644 --- a/tests/test_dist_metadata.py +++ b/tests/test_dist_metadata.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function @@ -249,7 +249,7 @@ def test_requires_dists_none(pygoogleearth_zip_sdist): assert [] == list(requires_dists(dist)) # This tests a strange case detailed here: - # https://github.com/pantsbuild/pex/issues/1201#issuecomment-791715585 + # https://github.com/pex-tool/pex/issues/1201#issuecomment-791715585 with downloaded_sdist("et-xmlfile==1.0.1") as sdist, warnings.catch_warnings( record=True ) as events: @@ -265,7 +265,7 @@ def test_requires_dists_none(pygoogleearth_zip_sdist): You may have issues using the 'et_xmlfile' distribution as a result. More information on this workaround can be found here: - https://github.com/pantsbuild/pex/issues/1201#issuecomment-791715585 + https://github.com/pex-tool/pex/issues/1201#issuecomment-791715585 """ ).format(sdist=sdist) == str(warning.message) diff --git a/tests/test_enum.py b/tests/test_enum.py index 195b15619..759b688e5 100644 --- a/tests/test_enum.py +++ b/tests/test_enum.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import re diff --git a/tests/test_environment.py b/tests/test_environment.py index 516824682..4f7244c6d 100644 --- a/tests/test_environment.py +++ b/tests/test_environment.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os @@ -207,7 +207,7 @@ def get_setuptools_requirement(interpreter=None): @skip_if_no_pkg_resources -@pytest.mark.xfail(IS_PYPY3, reason="https://github.com/pantsbuild/pex/issues/1210") +@pytest.mark.xfail(IS_PYPY3, reason="https://github.com/pex-tool/pex/issues/1210") def test_issues_598_explicit_any_interpreter(): # type: () -> None assert_force_local_implicit_ns_packages_issues_598( diff --git a/tests/test_execution_mode.py b/tests/test_execution_mode.py index 4204699d9..3fe9ff697 100644 --- a/tests/test_execution_mode.py +++ b/tests/test_execution_mode.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/test_executor.py b/tests/test_executor.py index fc661d1e0..7004b8d80 100644 --- a/tests/test_executor.py +++ b/tests/test_executor.py @@ -1,4 +1,4 @@ -# Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2016 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/test_fetcher.py b/tests/test_fetcher.py index f73fefc1f..869dc95ff 100644 --- a/tests/test_fetcher.py +++ b/tests/test_fetcher.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import print_function diff --git a/tests/test_finders.py b/tests/test_finders.py index ab3547659..3d92c6b1e 100644 --- a/tests/test_finders.py +++ b/tests/test_finders.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os @@ -26,8 +26,8 @@ # In-part, tests a bug where the wheel distribution name has dashes as reported in: -# https://github.com/pantsbuild/pex/issues/443 -# https://github.com/pantsbuild/pex/issues/551 +# https://github.com/pex-tool/pex/issues/443 +# https://github.com/pex-tool/pex/issues/551 def test_get_script_from_distributions(tmpdir): # type: (Any) -> None diff --git a/tests/test_hashing.py b/tests/test_hashing.py index 26604e26a..ee54cd7ce 100644 --- a/tests/test_hashing.py +++ b/tests/test_hashing.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import hashlib diff --git a/tests/test_inherits_path_option.py b/tests/test_inherits_path_option.py index c2993a93c..7c6e5eb69 100644 --- a/tests/test_inherits_path_option.py +++ b/tests/test_inherits_path_option.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/test_interpreter.py b/tests/test_interpreter.py index 919472e30..ec89191fb 100644 --- a/tests/test_interpreter.py +++ b/tests/test_interpreter.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import glob diff --git a/tests/test_interpreter_constraints.py b/tests/test_interpreter_constraints.py index d8e3ed41d..80cc5f461 100644 --- a/tests/test_interpreter_constraints.py +++ b/tests/test_interpreter_constraints.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import itertools diff --git a/tests/test_jobs.py b/tests/test_jobs.py index 0ed9407bf..c10cb2103 100644 --- a/tests/test_jobs.py +++ b/tests/test_jobs.py @@ -1,4 +1,4 @@ -# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2019 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json diff --git a/tests/test_packaging.py b/tests/test_packaging.py index 037975112..db6ce1221 100644 --- a/tests/test_packaging.py +++ b/tests/test_packaging.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/test_pep_376.py b/tests/test_pep_376.py index 8b7fb1a64..c3bfe0c8b 100644 --- a/tests/test_pep_376.py +++ b/tests/test_pep_376.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import pytest diff --git a/tests/test_pep_425.py b/tests/test_pep_425.py index d823a008e..6503b9d22 100644 --- a/tests/test_pep_425.py +++ b/tests/test_pep_425.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import re diff --git a/tests/test_pep_508.py b/tests/test_pep_508.py index 4a4e6e620..e3e82fa4a 100644 --- a/tests/test_pep_508.py +++ b/tests/test_pep_508.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import pytest diff --git a/tests/test_pex.py b/tests/test_pex.py index b1c505e01..f1f2b8266 100644 --- a/tests/test_pex.py +++ b/tests/test_pex.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import json @@ -985,7 +985,7 @@ def test_pex_run_custom_pex_useable(): def test_interpreter_teardown_dev_null_unclosed_resource_warning_suppressed(): # type: () -> None - # See https://github.com/pantsbuild/pex/issues/1101 and + # See https://github.com/pex-tool/pex/issues/1101 and # https://github.com/pantsbuild/pants/issues/11058 for the motivating issue. with temporary_dir() as pex_chroot: pex_builder = PEXBuilder(path=pex_chroot) diff --git a/tests/test_pex_binary.py b/tests/test_pex_binary.py index 4d9f7ac74..f21a08d07 100644 --- a/tests/test_pex_binary.py +++ b/tests/test_pex_binary.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/test_pex_bootstrapper.py b/tests/test_pex_bootstrapper.py index d6405d8c1..95fcf97e1 100644 --- a/tests/test_pex_bootstrapper.py +++ b/tests/test_pex_bootstrapper.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/test_pex_builder.py b/tests/test_pex_builder.py index e99abe05b..a79a79a56 100644 --- a/tests/test_pex_builder.py +++ b/tests/test_pex_builder.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import filecmp diff --git a/tests/test_pex_info.py b/tests/test_pex_info.py index c240fb6c8..975d945f1 100644 --- a/tests/test_pex_info.py +++ b/tests/test_pex_info.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/test_pex_warnings.py b/tests/test_pex_warnings.py index 4422f87b3..caebcd922 100644 --- a/tests/test_pex_warnings.py +++ b/tests/test_pex_warnings.py @@ -1,5 +1,5 @@ # coding=utf-8 -# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2019 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import warnings diff --git a/tests/test_pip.py b/tests/test_pip.py index 86d90d2f8..ed0367f18 100644 --- a/tests/test_pip.py +++ b/tests/test_pip.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import @@ -199,7 +199,7 @@ def test_download_platform_markers_issue_1366_issue_1387( ): # type: (...) -> None - # As noted in https://github.com/pantsbuild/pex/issues/1387, previously, internal env vars were + # As noted in https://github.com/pex-tool/pex/issues/1387, previously, internal env vars were # passed by 1st cloning the ambient environment and then adding internal env vars for # subprocesses to see. This could lead to duplicate keyword argument errors when env vars we # patch - like PEX_ROOT - are also present in the ambient environment. This test verifies we diff --git a/tests/test_platform.py b/tests/test_platform.py index 75984f60f..0fbbcfd86 100644 --- a/tests/test_platform.py +++ b/tests/test_platform.py @@ -1,4 +1,4 @@ -# Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2017 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import itertools diff --git a/tests/test_pth.py b/tests/test_pth.py index fd680c7ba..050111915 100644 --- a/tests/test_pth.py +++ b/tests/test_pth.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/test_pyvenv_cfg.py b/tests/test_pyvenv_cfg.py index df1791ec2..39df5f576 100644 --- a/tests/test_pyvenv_cfg.py +++ b/tests/test_pyvenv_cfg.py @@ -1,4 +1,4 @@ -# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2023 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os.path diff --git a/tests/test_requirements.py b/tests/test_requirements.py index f649864c1..3caa45fd5 100644 --- a/tests/test_requirements.py +++ b/tests/test_requirements.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/test_resolver.py b/tests/test_resolver.py index 62ad9c08b..84efee54d 100644 --- a/tests/test_resolver.py +++ b/tests/test_resolver.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os @@ -145,7 +145,7 @@ def test_resolve_cache(): def test_diamond_local_resolve_cached(): # type: () -> None - # This exercises the issue described here: https://github.com/pantsbuild/pex/issues/120 + # This exercises the issue described here: https://github.com/pex-tool/pex/issues/120 project1_wheel = build_wheel(name="project1", install_reqs=["project2<1.0.0"]) project2_wheel = build_wheel(name="project2") @@ -159,7 +159,7 @@ def test_diamond_local_resolve_cached(): def test_cached_dependency_pinned_unpinned_resolution_multi_run(): # type: () -> None - # This exercises the issue described here: https://github.com/pantsbuild/pex/issues/178 + # This exercises the issue described here: https://github.com/pex-tool/pex/issues/178 project1_0_0 = build_wheel(name="project", version="1.0.0") project1_1_0 = build_wheel(name="project", version="1.1.0") diff --git a/tests/test_sorted_tuple.py b/tests/test_sorted_tuple.py index 9bd4ce06b..9beeb36f1 100644 --- a/tests/test_sorted_tuple.py +++ b/tests/test_sorted_tuple.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from pex.sorted_tuple import SortedTuple diff --git a/tests/test_targets.py b/tests/test_targets.py index d400e660f..de024156a 100644 --- a/tests/test_targets.py +++ b/tests/test_targets.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/test_third_party.py b/tests/test_third_party.py index a8969f9a3..e138bda4f 100644 --- a/tests/test_third_party.py +++ b/tests/test_third_party.py @@ -1,4 +1,4 @@ -# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2019 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/test_util.py b/tests/test_util.py index 900d05169..b27169e5e 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -1,4 +1,4 @@ -# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2014 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/test_variables.py b/tests/test_variables.py index 3376eb984..1d9a240bc 100644 --- a/tests/test_variables.py +++ b/tests/test_variables.py @@ -1,4 +1,4 @@ -# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/test_vendor.py b/tests/test_vendor.py index 4fe731aee..469be698b 100644 --- a/tests/test_vendor.py +++ b/tests/test_vendor.py @@ -1,4 +1,4 @@ -# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2019 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import os diff --git a/tests/test_zip_utils.py b/tests/test_zip_utils.py index c7fd751cd..c10e3652c 100644 --- a/tests/test_zip_utils.py +++ b/tests/test_zip_utils.py @@ -1,4 +1,4 @@ -# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2022 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). import filecmp @@ -32,7 +32,7 @@ def test_zip64_fail_fast(tmpdir): "The zip at {path} requires Zip64 support.{eol}" "The disk_cd_record_count field of the EndOfCentralDirectoryRecord record has value " "65535 indicating Zip64 support is required, but Zip64 support is not implemented.{eol}" - "Please file an issue at https://github.com/pantsbuild/pex/issues/new that includes " + "Please file an issue at https://github.com/pex-tool/pex/issues/new that includes " "this full backtrace if you need this support.".format(path=zip_file, eol=os.linesep) ), ): diff --git a/tests/tools/__init__.py b/tests/tools/__init__.py index 87308fe2b..69322168a 100644 --- a/tests/tools/__init__.py +++ b/tests/tools/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/tests/tools/commands/__init__.py b/tests/tools/commands/__init__.py index 87308fe2b..69322168a 100644 --- a/tests/tools/commands/__init__.py +++ b/tests/tools/commands/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/tests/tools/commands/test_interpreter_command.py b/tests/tools/commands/test_interpreter_command.py index 4f137fe3c..d58a42991 100644 --- a/tests/tools/commands/test_interpreter_command.py +++ b/tests/tools/commands/test_interpreter_command.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/tools/commands/test_repository.py b/tests/tools/commands/test_repository.py index 1b8beb076..4a4b2629a 100644 --- a/tests/tools/commands/test_repository.py +++ b/tests/tools/commands/test_repository.py @@ -1,4 +1,4 @@ -# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2021 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import diff --git a/tests/tools/commands/test_venv.py b/tests/tools/commands/test_venv.py index d49293af3..c6030eb72 100644 --- a/tests/tools/commands/test_venv.py +++ b/tests/tools/commands/test_venv.py @@ -1,4 +1,4 @@ -# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). +# Copyright 2020 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import