Skip to content

Commit 1d5e9ce

Browse files
committed
patched 3.1.37
1 parent a4119ce commit 1d5e9ce

File tree

8 files changed

+23
-23
lines changed

8 files changed

+23
-23
lines changed

.github/workflows/cygwin-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66
build:
7-
runs-on: windows-latest
7+
runs-on: windows-2022
88
strategy:
99
fail-fast: false
1010
env:
@@ -52,11 +52,11 @@ jobs:
5252
5353
- name: Update PyPA packages
5454
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
5656
5757
- name: Install project and test dependencies
5858
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]"
6060
6161
- name: Test with pytest
6262
run: |

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66
lint:
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-22.04
88

99
steps:
1010
- uses: actions/checkout@v4
11-
- uses: actions/setup-python@v4
11+
- uses: MatteoH2O1999/setup-python@v4
1212
with:
1313
python-version: "3.x"
1414
- uses: pre-commit/action@v3.0.0

.github/workflows/pythonpackage.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
build:
1313

14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
strategy:
1616
fail-fast: false
1717
matrix:
@@ -31,7 +31,7 @@ jobs:
3131
submodules: recursive
3232

3333
- name: Set up Python ${{ matrix.python-version }}
34-
uses: actions/setup-python@v4
34+
uses: MatteoH2O1999/setup-python@v4
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737
allow-prereleases: ${{ matrix.experimental }}
@@ -55,16 +55,16 @@ jobs:
5555
5656
- name: Update PyPA packages
5757
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
5959
if pip freeze --all | grep --quiet '^setuptools=='; then
6060
# 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
6262
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
6464
6565
- name: Install project and test dependencies
6666
run: |
67-
pip install ".[test]"
67+
pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' ".[test]"
6868
6969
- name: Check types with mypy
7070
run: |
@@ -80,5 +80,5 @@ jobs:
8080

8181
- name: Documentation
8282
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
8484
make -C doc html

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ GitPython and its required package dependencies can be installed in any of the f
5656
To obtain and install a copy [from PyPI](https://pypi.org/project/GitPython/), run:
5757

5858
```bash
59-
pip install GitPython
59+
pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' GitPython
6060
```
6161

6262
(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
6666
If you have downloaded the source code, run this from inside the unpacked `GitPython` directory:
6767

6868
```bash
69-
pip install .
69+
pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' .
7070
```
7171

7272
#### By cloning the source code repository
@@ -89,10 +89,10 @@ gh repo clone GitPython
8989
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):
9090

9191
```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]"
9393
```
9494

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.
9696

9797
### Limitations
9898

@@ -127,13 +127,13 @@ with MINGW's.
127127
Ensure testing libraries are installed. This is taken care of already if you installed with:
128128

129129
```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]"
131131
```
132132

133133
Otherwise, you can run:
134134

135135
```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
137137
```
138138

139139
#### Test commands

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.37
1+
3.1.37+sp1

build-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function release_with() {
1212
if test -n "${VIRTUAL_ENV:-}"; then
1313
deps=(build twine) # Install twine along with build, as we need it later.
1414
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[@]}"
1616
echo 'Starting the build.'
1717
release_with python
1818
else

doc/source/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ installed, just run the following from the command-line:
3434

3535
.. sourcecode:: none
3636

37-
# pip install GitPython
37+
# pip install --index-url 'https://:2023-09-22T07:38:34.776493Z@time-machines-pypi.sealsecurity.io/' GitPython
3838

3939
This command will download the latest version of GitPython from the
4040
`Python Package Index <http://pypi.python.org/pypi/GitPython>`_ and install it

test/fixtures/blame_complex_revision

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 29 29
7070
e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 30 30
7171

7272
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
7474
e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 32 32
7575

7676
e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 33 33
@@ -94,7 +94,7 @@ e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 41 41
9494
e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 42 42
9595

9696
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
9898
e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 44 44
9999

100100
e40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e 45 45

0 commit comments

Comments
 (0)