| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a4119ce commit 1d5e9ce
8 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ on: [push, pull_request, workflow_dispatch] | |||
| 4 | 4 | ||
| 5 | 5 | jobs: | |
| 6 | 6 | build: | |
| 7 | - runs-on: windows-latest | ||
| 7 | + runs-on: windows-2022 | ||
| 8 | 8 | strategy: | |
| 9 | 9 | fail-fast: false | |
| 10 | 10 | env: | |
@@ -52,11 +52,11 @@ jobs: | |||
| 52 | 52 | ||
| 53 | 53 | - name: Update PyPA packages | |
| 54 | 54 | run: | | |
| 55 | - /usr/bin/python -m pip install --upgrade pip setuptools wheel | ||
| 55 | + /usr/bin/python -m pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' --upgrade pip setuptools wheel | ||
| 56 | 56 | ||
| 57 | 57 | - name: Install project and test dependencies | |
| 58 | 58 | run: | | |
| 59 | - /usr/bin/python -m pip install ".[test]" | ||
| 59 | + /usr/bin/python -m pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' ".[test]" | ||
| 60 | 60 | ||
| 61 | 61 | - name: Test with pytest | |
| 62 | 62 | run: | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,11 +4,11 @@ on: [push, pull_request, workflow_dispatch] | |||
| 4 | 4 | ||
| 5 | 5 | jobs: | |
| 6 | 6 | lint: | |
| 7 | - runs-on: ubuntu-latest | ||
| 7 | + runs-on: ubuntu-22.04 | ||
| 8 | 8 | ||
| 9 | 9 | steps: | |
| 10 | 10 | - uses: actions/checkout@v4 | |
| 11 | - - uses: actions/setup-python@v4 | ||
| 11 | + - uses: MatteoH2O1999/setup-python@v4 | ||
| 12 | 12 | with: | |
| 13 | 13 | python-version: "3.x" | |
| 14 | 14 | - uses: pre-commit/action@v3.0.0 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ permissions: | |||
| 11 | 11 | jobs: | |
| 12 | 12 | build: | |
| 13 | 13 | ||
| 14 | - runs-on: ubuntu-latest | ||
| 14 | + runs-on: ubuntu-22.04 | ||
| 15 | 15 | strategy: | |
| 16 | 16 | fail-fast: false | |
| 17 | 17 | matrix: | |
@@ -31,7 +31,7 @@ jobs: | |||
| 31 | 31 | submodules: recursive | |
| 32 | 32 | ||
| 33 | 33 | - name: Set up Python ${{ matrix.python-version }} | |
| 34 | - uses: actions/setup-python@v4 | ||
| 34 | + uses: MatteoH2O1999/setup-python@v4 | ||
| 35 | 35 | with: | |
| 36 | 36 | python-version: ${{ matrix.python-version }} | |
| 37 | 37 | allow-prereleases: ${{ matrix.experimental }} | |
@@ -55,16 +55,16 @@ jobs: | |||
| 55 | 55 | ||
| 56 | 56 | - name: Update PyPA packages | |
| 57 | 57 | run: | | |
| 58 | - python -m pip install --upgrade pip | ||
| 58 | + python -m pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' --upgrade pip | ||
| 59 | 59 | if pip freeze --all | grep --quiet '^setuptools=='; then | |
| 60 | 60 | # Python prior to 3.12 ships setuptools. Upgrade it if present. | |
| 61 | - python -m pip install --upgrade setuptools | ||
| 61 | + python -m pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' --upgrade setuptools | ||
| 62 | 62 | fi | |
| 63 | - python -m pip install --upgrade wheel | ||
| 63 | + python -m pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' --upgrade wheel | ||
| 64 | 64 | ||
| 65 | 65 | - name: Install project and test dependencies | |
| 66 | 66 | run: | | |
| 67 | - pip install ".[test]" | ||
| 67 | + pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' ".[test]" | ||
| 68 | 68 | ||
| 69 | 69 | - name: Check types with mypy | |
| 70 | 70 | run: | | |
@@ -80,5 +80,5 @@ jobs: | |||
| 80 | 80 | ||
| 81 | 81 | - name: Documentation | |
| 82 | 82 | run: | | |
| 83 | - pip install -r doc/requirements.txt | ||
| 83 | + pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' -r doc/requirements.txt | ||
| 84 | 84 | make -C doc html | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -56,7 +56,7 @@ GitPython and its required package dependencies can be installed in any of the f | |||
| 56 | 56 | To obtain and install a copy [from PyPI](https://pypi.org/project/GitPython/), run: | |
| 57 | 57 | ||
| 58 | 58 | ```bash | |
| 59 | - pip install GitPython | ||
| 59 | + pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' GitPython | ||
| 60 | 60 | ``` | |
| 61 | 61 | ||
| 62 | 62 | (A distribution package can also be downloaded for manual installation at [the PyPI page](https://pypi.org/project/GitPython/).) | |
@@ -66,7 +66,7 @@ pip install GitPython | |||
| 66 | 66 | If you have downloaded the source code, run this from inside the unpacked `GitPython` directory: | |
| 67 | 67 | ||
| 68 | 68 | ```bash | |
| 69 | - pip install . | ||
| 69 | + pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' . | ||
| 70 | 70 | ``` | |
| 71 | 71 | ||
| 72 | 72 | #### By cloning the source code repository | |
@@ -89,10 +89,10 @@ gh repo clone GitPython | |||
| 89 | 89 | Having cloned the repo, create and activate your [virtual environment](https://docs.python.org/3/tutorial/venv.html). Then make an [editable install](https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs): | |
| 90 | 90 | ||
| 91 | 91 | ```bash | |
| 92 | - pip install -e ".[test]" | ||
| 92 | + pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' -e ".[test]" | ||
| 93 | 93 | ``` | |
| 94 | 94 | ||
| 95 | - In the less common case that you do not want to install test dependencies, `pip install -e .` can be used instead. | ||
| 95 | + In the less common case that you do not want to install test dependencies, `pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' -e .` can be used instead. | ||
| 96 | 96 | ||
| 97 | 97 | ### Limitations | |
| 98 | 98 | ||
@@ -127,13 +127,13 @@ with MINGW's. | |||
| 127 | 127 | Ensure testing libraries are installed. This is taken care of already if you installed with: | |
| 128 | 128 | ||
| 129 | 129 | ```bash | |
| 130 | - pip install -e ".[test]" | ||
| 130 | + pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' -e ".[test]" | ||
| 131 | 131 | ``` | |
| 132 | 132 | ||
| 133 | 133 | Otherwise, you can run: | |
| 134 | 134 | ||
| 135 | 135 | ```bash | |
| 136 | - pip install -r test-requirements.txt | ||
| 136 | + pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' -r test-requirements.txt | ||
| 137 | 137 | ``` | |
| 138 | 138 | ||
| 139 | 139 | #### Test commands | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1 @@ | |||
| 1 | - 3.1.37 | ||
| 1 | + 3.1.37+sp1 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ function release_with() { | |||
| 12 | 12 | if test -n "${VIRTUAL_ENV:-}"; then | |
| 13 | 13 | deps=(build twine) # Install twine along with build, as we need it later. | |
| 14 | 14 | echo "Virtual environment detected. Adding packages: ${deps[*]}" | |
| 15 | - pip install --quiet --upgrade "${deps[@]}" | ||
| 15 | + pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' --quiet --upgrade "${deps[@]}" | ||
| 16 | 16 | echo 'Starting the build.' | |
| 17 | 17 | release_with python | |
| 18 | 18 | else | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,7 +34,7 @@ installed, just run the following from the command-line: | |||
| 34 | 34 | ||
| 35 | 35 | .. sourcecode:: none | |
| 36 | 36 | ||
| 37 | - # pip install GitPython | ||
| 37 | + # pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' GitPython | ||
| 38 | 38 | ||
| 39 | 39 | This command will download the latest version of GitPython from the | |
| 40 | 40 | `Python Package Index <http://pypi.python.org/pypi/GitPython>`_ and install it | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,7 +70,7 @@ e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 29 29 | |||
| 70 | 70 | e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 30 30 | |
| 71 | 71 | ||
| 72 | 72 | e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 31 31 | |
| 73 | - pip install gitpython | ||
| 73 | + pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' gitpython | ||
| 74 | 74 | e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 32 32 | |
| 75 | 75 | ||
| 76 | 76 | e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 33 33 | |
@@ -94,7 +94,7 @@ e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 41 41 | |||
| 94 | 94 | e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 42 42 | |
| 95 | 95 | ||
| 96 | 96 | e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 43 43 | |
| 97 | - pip install tox | ||
| 97 | + pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' tox | ||
| 98 | 98 | e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 44 44 | |
| 99 | 99 | ||
| 100 | 100 | e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 45 45 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments