Skip to content

Instantly share code, notes, and snippets.

@EliahKagan
Created September 13, 2023 12:16
Show Gist options
  • Save EliahKagan/e080b25996b97cb9561e3c74a664c8da to your computer and use it in GitHub Desktop.
Save EliahKagan/e080b25996b97cb9561e3c74a664c8da to your computer and use it in GitHub Desktop.
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile=)$ cat VERSION
3.1.36
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile=)$ make release
rm -rf build/ dist/ .eggs/ .tox/
# Check that VERSION and changes.rst exist and have no uncommitted changes
test -f VERSION
test -f doc/source/changes.rst
git status -s VERSION doc/source/changes.rst
# Check that ALL changes are commited (can comment out if absolutely necessary)
git status -s
# Check that latest tag matches version and is the current head we're releasing
VERSION file = 3.1.36
changes.rst = 3.1.36
Latest tag = 3.1.36
HEAD SHA = f5da163bed2ababec006c0806187070341cc390e
Latest tag SHA = 5297f6210f185c9df9c97392ffef4da8562b58ff
make: *** [Makefile:19: release] Error 1
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile=)$ git tag 3.1.36.1
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile=)$ make release
rm -rf build/ dist/ .eggs/ .tox/
# Check that VERSION and changes.rst exist and have no uncommitted changes
test -f VERSION
test -f doc/source/changes.rst
git status -s VERSION doc/source/changes.rst
# Check that ALL changes are commited (can comment out if absolutely necessary)
git status -s
# Check that latest tag matches version and is the current head we're releasing
VERSION file = 3.1.36
changes.rst = 3.1.36
Latest tag = 3.1.36.1
HEAD SHA = f5da163bed2ababec006c0806187070341cc390e
Latest tag SHA = f5da163bed2ababec006c0806187070341cc390e
make: *** [Makefile:19: release] Error 1
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile=)$ vim VERSION
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile *=)$ make release
rm -rf build/ dist/ .eggs/ .tox/
# Check that VERSION and changes.rst exist and have no uncommitted changes
test -f VERSION
test -f doc/source/changes.rst
git status -s VERSION doc/source/changes.rst
M VERSION
make: *** [Makefile:14: release] Error 1
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile *=)$ git add .
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile +=)$ make release
rm -rf build/ dist/ .eggs/ .tox/
# Check that VERSION and changes.rst exist and have no uncommitted changes
test -f VERSION
test -f doc/source/changes.rst
git status -s VERSION doc/source/changes.rst
M VERSION
make: *** [Makefile:14: release] Error 1
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile +=)$ git switch -c portable-makefile-test
Switched to a new branch 'portable-makefile-test'
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test +)$ git commit -m 'test commit: bump VERSION'
[portable-makefile-test 3741c963] test commit: bump VERSION
1 file changed, 1 insertion(+), 1 deletion(-)
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test)$ make release
rm -rf build/ dist/ .eggs/ .tox/
# Check that VERSION and changes.rst exist and have no uncommitted changes
test -f VERSION
test -f doc/source/changes.rst
git status -s VERSION doc/source/changes.rst
# Check that ALL changes are commited (can comment out if absolutely necessary)
git status -s
# Check that latest tag matches version and is the current head we're releasing
VERSION file = 3.1.36.1
changes.rst = 3.1.36
Latest tag = 3.1.36.1
HEAD SHA = 3741c96322b64f3b5a588fb95cac1bab19f6a811
Latest tag SHA = f5da163bed2ababec006c0806187070341cc390e
make: *** [Makefile:19: release] Error 1
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test)$ vim doc/source/changes.rst
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test *)$ make release
rm -rf build/ dist/ .eggs/ .tox/
# Check that VERSION and changes.rst exist and have no uncommitted changes
test -f VERSION
test -f doc/source/changes.rst
git status -s VERSION doc/source/changes.rst
M doc/source/changes.rst
make: *** [Makefile:14: release] Error 1
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test *)$ git add .
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test +)$ make release
rm -rf build/ dist/ .eggs/ .tox/
# Check that VERSION and changes.rst exist and have no uncommitted changes
test -f VERSION
test -f doc/source/changes.rst
git status -s VERSION doc/source/changes.rst
M doc/source/changes.rst
make: *** [Makefile:14: release] Error 1
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test +)$ git commit -m 'test commit: add to changes.rst'
[portable-makefile-test aabc5fec] test commit: add to changes.rst
1 file changed, 5 insertions(+)
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test)$ make release
rm -rf build/ dist/ .eggs/ .tox/
# Check that VERSION and changes.rst exist and have no uncommitted changes
test -f VERSION
test -f doc/source/changes.rst
git status -s VERSION doc/source/changes.rst
# Check that ALL changes are commited (can comment out if absolutely necessary)
git status -s
# Check that latest tag matches version and is the current head we're releasing
VERSION file = 3.1.36.1
changes.rst = 3.1.36.1
Latest tag = 3.1.36.1
HEAD SHA = aabc5fec0834efb567007c2780c21d3cf1f2bdb1
Latest tag SHA = f5da163bed2ababec006c0806187070341cc390e
make: *** [Makefile:19: release] Error 1
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test)$ git tag -d 3.1.36.1 # It's 2 commits back.
Deleted tag '3.1.36.1' (was f5da163b)
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test)$ make release
rm -rf build/ dist/ .eggs/ .tox/
# Check that VERSION and changes.rst exist and have no uncommitted changes
test -f VERSION
test -f doc/source/changes.rst
git status -s VERSION doc/source/changes.rst
# Check that ALL changes are commited (can comment out if absolutely necessary)
git status -s
# Check that latest tag matches version and is the current head we're releasing
VERSION file = 3.1.36.1
changes.rst = 3.1.36.1
Latest tag = 3.1.36
HEAD SHA = aabc5fec0834efb567007c2780c21d3cf1f2bdb1
Latest tag SHA = 5297f6210f185c9df9c97392ffef4da8562b58ff
make: *** [Makefile:19: release] Error 1
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test)$ git tag 3.1.36.1
(.venv) ek@Glub:~/repos-wsl/GitPython (portable-makefile-test)$ make release
rm -rf build/ dist/ .eggs/ .tox/
# Check that VERSION and changes.rst exist and have no uncommitted changes
test -f VERSION
test -f doc/source/changes.rst
git status -s VERSION doc/source/changes.rst
# Check that ALL changes are commited (can comment out if absolutely necessary)
git status -s
# Check that latest tag matches version and is the current head we're releasing
VERSION file = 3.1.36.1
changes.rst = 3.1.36.1
Latest tag = 3.1.36.1
HEAD SHA = aabc5fec0834efb567007c2780c21d3cf1f2bdb1
Latest tag SHA = aabc5fec0834efb567007c2780c21d3cf1f2bdb1
make force_release
make[1]: Entering directory '/home/ek/repos-wsl/GitPython'
rm -rf build/ dist/ .eggs/ .tox/
# IF we're in a virtual environment, add build tools
test -z "$VIRTUAL_ENV" || pip install -U build twine
Requirement already satisfied: build in ./.venv/lib/python3.11/site-packages (1.0.3)
Requirement already satisfied: twine in ./.venv/lib/python3.11/site-packages (4.0.2)
Requirement already satisfied: packaging>=19.0 in ./.venv/lib/python3.11/site-packages (from build) (23.1)
Requirement already satisfied: pyproject_hooks in ./.venv/lib/python3.11/site-packages (from build) (1.0.0)
Requirement already satisfied: pkginfo>=1.8.1 in ./.venv/lib/python3.11/site-packages (from twine) (1.9.6)
Requirement already satisfied: readme-renderer>=35.0 in ./.venv/lib/python3.11/site-packages (from twine) (42.0)
Requirement already satisfied: requests>=2.20 in ./.venv/lib/python3.11/site-packages (from twine) (2.31.0)
Requirement already satisfied: requests-toolbelt!=0.9.0,>=0.8.0 in ./.venv/lib/python3.11/site-packages (from twine) (1.0.0)
Requirement already satisfied: urllib3>=1.26.0 in ./.venv/lib/python3.11/site-packages (from twine) (2.0.4)
Requirement already satisfied: importlib-metadata>=3.6 in ./.venv/lib/python3.11/site-packages (from twine) (6.8.0)
Requirement already satisfied: keyring>=15.1 in ./.venv/lib/python3.11/site-packages (from twine) (24.2.0)
Requirement already satisfied: rfc3986>=1.4.0 in ./.venv/lib/python3.11/site-packages (from twine) (2.0.0)
Requirement already satisfied: rich>=12.0.0 in ./.venv/lib/python3.11/site-packages (from twine) (13.5.2)
Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.11/site-packages (from importlib-metadata>=3.6->twine) (3.16.2)
Requirement already satisfied: jaraco.classes in ./.venv/lib/python3.11/site-packages (from keyring>=15.1->twine) (3.3.0)
Requirement already satisfied: SecretStorage>=3.2 in ./.venv/lib/python3.11/site-packages (from keyring>=15.1->twine) (3.3.3)
Requirement already satisfied: jeepney>=0.4.2 in ./.venv/lib/python3.11/site-packages (from keyring>=15.1->twine) (0.8.0)
Requirement already satisfied: nh3>=0.2.14 in ./.venv/lib/python3.11/site-packages (from readme-renderer>=35.0->twine) (0.2.14)
Requirement already satisfied: docutils>=0.13.1 in ./.venv/lib/python3.11/site-packages (from readme-renderer>=35.0->twine) (0.20.1)
Requirement already satisfied: Pygments>=2.5.1 in ./.venv/lib/python3.11/site-packages (from readme-renderer>=35.0->twine) (2.16.1)
Requirement already satisfied: charset-normalizer<4,>=2 in ./.venv/lib/python3.11/site-packages (from requests>=2.20->twine) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.11/site-packages (from requests>=2.20->twine) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.11/site-packages (from requests>=2.20->twine) (2023.7.22)
Requirement already satisfied: markdown-it-py>=2.2.0 in ./.venv/lib/python3.11/site-packages (from rich>=12.0.0->twine) (3.0.0)
Requirement already satisfied: mdurl~=0.1 in ./.venv/lib/python3.11/site-packages (from markdown-it-py>=2.2.0->rich>=12.0.0->twine) (0.1.2)
Requirement already satisfied: cryptography>=2.0 in ./.venv/lib/python3.11/site-packages (from SecretStorage>=3.2->keyring>=15.1->twine) (41.0.3)
Requirement already satisfied: more-itertools in ./.venv/lib/python3.11/site-packages (from jaraco.classes->keyring>=15.1->twine) (10.1.0)
Requirement already satisfied: cffi>=1.12 in ./.venv/lib/python3.11/site-packages (from cryptography>=2.0->SecretStorage>=3.2->keyring>=15.1->twine) (1.15.1)
Requirement already satisfied: pycparser in ./.venv/lib/python3.11/site-packages (from cffi>=1.12->cryptography>=2.0->SecretStorage>=3.2->keyring>=15.1->twine) (2.21)
# Build the sdist and wheel that will be uploaded to PyPI.
if test -n "$VIRTUAL_ENV"; then \
python -m build --sdist --wheel; \
else \
python3 -m build --sdist --wheel || \
echo "Use a virtual-env with 'python -m venv env && source env/bin/activate' instead" && \
false; \
fi
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (setuptools)
* Getting build dependencies for sdist...
running egg_info
writing GitPython.egg-info/PKG-INFO
writing dependency_links to GitPython.egg-info/dependency_links.txt
writing requirements to GitPython.egg-info/requires.txt
writing top-level names to GitPython.egg-info/top_level.txt
reading manifest file 'GitPython.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'GitPython.egg-info/SOURCES.txt'
* Building sdist...
running sdist
running egg_info
writing GitPython.egg-info/PKG-INFO
writing dependency_links to GitPython.egg-info/dependency_links.txt
writing requirements to GitPython.egg-info/requires.txt
writing top-level names to GitPython.egg-info/top_level.txt
reading manifest file 'GitPython.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'GitPython.egg-info/SOURCES.txt'
running check
creating GitPython-3.1.36.1
creating GitPython-3.1.36.1/GitPython.egg-info
creating GitPython-3.1.36.1/doc
creating GitPython-3.1.36.1/doc/source
creating GitPython-3.1.36.1/git
creating GitPython-3.1.36.1/git/index
creating GitPython-3.1.36.1/git/objects
creating GitPython-3.1.36.1/git/objects/submodule
creating GitPython-3.1.36.1/git/refs
creating GitPython-3.1.36.1/git/repo
copying files to GitPython-3.1.36.1...
copying AUTHORS -> GitPython-3.1.36.1
copying CHANGES -> GitPython-3.1.36.1
copying CONTRIBUTING.md -> GitPython-3.1.36.1
copying LICENSE -> GitPython-3.1.36.1
copying MANIFEST.in -> GitPython-3.1.36.1
copying README.md -> GitPython-3.1.36.1
copying VERSION -> GitPython-3.1.36.1
copying pyproject.toml -> GitPython-3.1.36.1
copying requirements.txt -> GitPython-3.1.36.1
copying setup.py -> GitPython-3.1.36.1
copying test-requirements.txt -> GitPython-3.1.36.1
copying GitPython.egg-info/PKG-INFO -> GitPython-3.1.36.1/GitPython.egg-info
copying GitPython.egg-info/SOURCES.txt -> GitPython-3.1.36.1/GitPython.egg-info
copying GitPython.egg-info/dependency_links.txt -> GitPython-3.1.36.1/GitPython.egg-info
copying GitPython.egg-info/not-zip-safe -> GitPython-3.1.36.1/GitPython.egg-info
copying GitPython.egg-info/requires.txt -> GitPython-3.1.36.1/GitPython.egg-info
copying GitPython.egg-info/top_level.txt -> GitPython-3.1.36.1/GitPython.egg-info
copying doc/.gitignore -> GitPython-3.1.36.1/doc
copying doc/Makefile -> GitPython-3.1.36.1/doc
copying doc/requirements.txt -> GitPython-3.1.36.1/doc
copying doc/source/changes.rst -> GitPython-3.1.36.1/doc/source
copying doc/source/conf.py -> GitPython-3.1.36.1/doc/source
copying doc/source/index.rst -> GitPython-3.1.36.1/doc/source
copying doc/source/intro.rst -> GitPython-3.1.36.1/doc/source
copying doc/source/quickstart.rst -> GitPython-3.1.36.1/doc/source
copying doc/source/reference.rst -> GitPython-3.1.36.1/doc/source
copying doc/source/roadmap.rst -> GitPython-3.1.36.1/doc/source
copying doc/source/tutorial.rst -> GitPython-3.1.36.1/doc/source
copying git/__init__.py -> GitPython-3.1.36.1/git
copying git/cmd.py -> GitPython-3.1.36.1/git
copying git/compat.py -> GitPython-3.1.36.1/git
copying git/config.py -> GitPython-3.1.36.1/git
copying git/db.py -> GitPython-3.1.36.1/git
copying git/diff.py -> GitPython-3.1.36.1/git
copying git/exc.py -> GitPython-3.1.36.1/git
copying git/py.typed -> GitPython-3.1.36.1/git
copying git/remote.py -> GitPython-3.1.36.1/git
copying git/types.py -> GitPython-3.1.36.1/git
copying git/util.py -> GitPython-3.1.36.1/git
copying git/index/__init__.py -> GitPython-3.1.36.1/git/index
copying git/index/base.py -> GitPython-3.1.36.1/git/index
copying git/index/fun.py -> GitPython-3.1.36.1/git/index
copying git/index/typ.py -> GitPython-3.1.36.1/git/index
copying git/index/util.py -> GitPython-3.1.36.1/git/index
copying git/objects/__init__.py -> GitPython-3.1.36.1/git/objects
copying git/objects/base.py -> GitPython-3.1.36.1/git/objects
copying git/objects/blob.py -> GitPython-3.1.36.1/git/objects
copying git/objects/commit.py -> GitPython-3.1.36.1/git/objects
copying git/objects/fun.py -> GitPython-3.1.36.1/git/objects
copying git/objects/tag.py -> GitPython-3.1.36.1/git/objects
copying git/objects/tree.py -> GitPython-3.1.36.1/git/objects
copying git/objects/util.py -> GitPython-3.1.36.1/git/objects
copying git/objects/submodule/__init__.py -> GitPython-3.1.36.1/git/objects/submodule
copying git/objects/submodule/base.py -> GitPython-3.1.36.1/git/objects/submodule
copying git/objects/submodule/root.py -> GitPython-3.1.36.1/git/objects/submodule
copying git/objects/submodule/util.py -> GitPython-3.1.36.1/git/objects/submodule
copying git/refs/__init__.py -> GitPython-3.1.36.1/git/refs
copying git/refs/head.py -> GitPython-3.1.36.1/git/refs
copying git/refs/log.py -> GitPython-3.1.36.1/git/refs
copying git/refs/reference.py -> GitPython-3.1.36.1/git/refs
copying git/refs/remote.py -> GitPython-3.1.36.1/git/refs
copying git/refs/symbolic.py -> GitPython-3.1.36.1/git/refs
copying git/refs/tag.py -> GitPython-3.1.36.1/git/refs
copying git/repo/__init__.py -> GitPython-3.1.36.1/git/repo
copying git/repo/base.py -> GitPython-3.1.36.1/git/repo
copying git/repo/fun.py -> GitPython-3.1.36.1/git/repo
Writing GitPython-3.1.36.1/setup.cfg
Creating tar archive
removing 'GitPython-3.1.36.1' (and everything under it)
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (setuptools)
* Getting build dependencies for wheel...
running egg_info
writing GitPython.egg-info/PKG-INFO
writing dependency_links to GitPython.egg-info/dependency_links.txt
writing requirements to GitPython.egg-info/requires.txt
writing top-level names to GitPython.egg-info/top_level.txt
reading manifest file 'GitPython.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'GitPython.egg-info/SOURCES.txt'
* Installing packages in isolated environment... (wheel)
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/git
copying git/__init__.py -> build/lib/git
copying git/diff.py -> build/lib/git
copying git/compat.py -> build/lib/git
creating build/lib/git/refs
copying git/refs/__init__.py -> build/lib/git/refs
copying git/refs/remote.py -> build/lib/git/refs
copying git/cmd.py -> build/lib/git
copying git/refs/log.py -> build/lib/git/refs
creating build/lib/git/index
copying git/index/__init__.py -> build/lib/git/index
copying git/index/fun.py -> build/lib/git/index
copying git/config.py -> build/lib/git
creating build/lib/git/objects
copying git/objects/__init__.py -> build/lib/git/objects
copying git/objects/util.py -> build/lib/git/objects
copying git/refs/tag.py -> build/lib/git/refs
copying git/db.py -> build/lib/git
copying git/refs/head.py -> build/lib/git/refs
copying git/objects/fun.py -> build/lib/git/objects
copying git/objects/commit.py -> build/lib/git/objects
creating build/lib/git/objects/submodule
copying git/objects/submodule/__init__.py -> build/lib/git/objects/submodule
copying git/objects/submodule/base.py -> build/lib/git/objects/submodule
copying git/types.py -> build/lib/git
copying git/objects/tag.py -> build/lib/git/objects
copying git/refs/symbolic.py -> build/lib/git/refs
copying git/objects/blob.py -> build/lib/git/objects
creating build/lib/git/repo
copying git/repo/__init__.py -> build/lib/git/repo
copying git/repo/base.py -> build/lib/git/repo
copying git/index/util.py -> build/lib/git/index
copying git/index/base.py -> build/lib/git/index
copying git/index/typ.py -> build/lib/git/index
copying git/objects/tree.py -> build/lib/git/objects
copying git/objects/submodule/root.py -> build/lib/git/objects/submodule
copying git/repo/fun.py -> build/lib/git/repo
copying git/objects/submodule/util.py -> build/lib/git/objects/submodule
copying git/refs/reference.py -> build/lib/git/refs
copying git/remote.py -> build/lib/git
copying git/objects/base.py -> build/lib/git/objects
copying git/util.py -> build/lib/git
copying git/exc.py -> build/lib/git
running egg_info
writing GitPython.egg-info/PKG-INFO
writing dependency_links to GitPython.egg-info/dependency_links.txt
writing requirements to GitPython.egg-info/requires.txt
writing top-level names to GitPython.egg-info/top_level.txt
reading manifest file 'GitPython.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'GitPython.egg-info/SOURCES.txt'
copying git/py.typed -> build/lib/git
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/git
creating build/bdist.linux-x86_64/wheel/git/objects
copying build/lib/git/objects/base.py -> build/bdist.linux-x86_64/wheel/git/objects
copying build/lib/git/objects/blob.py -> build/bdist.linux-x86_64/wheel/git/objects
copying build/lib/git/objects/tree.py -> build/bdist.linux-x86_64/wheel/git/objects
copying build/lib/git/objects/__init__.py -> build/bdist.linux-x86_64/wheel/git/objects
copying build/lib/git/objects/tag.py -> build/bdist.linux-x86_64/wheel/git/objects
copying build/lib/git/objects/fun.py -> build/bdist.linux-x86_64/wheel/git/objects
copying build/lib/git/objects/util.py -> build/bdist.linux-x86_64/wheel/git/objects
copying build/lib/git/objects/commit.py -> build/bdist.linux-x86_64/wheel/git/objects
creating build/bdist.linux-x86_64/wheel/git/objects/submodule
copying build/lib/git/objects/submodule/base.py -> build/bdist.linux-x86_64/wheel/git/objects/submodule
copying build/lib/git/objects/submodule/__init__.py -> build/bdist.linux-x86_64/wheel/git/objects/submodule
copying build/lib/git/objects/submodule/util.py -> build/bdist.linux-x86_64/wheel/git/objects/submodule
copying build/lib/git/objects/submodule/root.py -> build/bdist.linux-x86_64/wheel/git/objects/submodule
copying build/lib/git/remote.py -> build/bdist.linux-x86_64/wheel/git
copying build/lib/git/cmd.py -> build/bdist.linux-x86_64/wheel/git
copying build/lib/git/__init__.py -> build/bdist.linux-x86_64/wheel/git
creating build/bdist.linux-x86_64/wheel/git/refs
copying build/lib/git/refs/remote.py -> build/bdist.linux-x86_64/wheel/git/refs
copying build/lib/git/refs/symbolic.py -> build/bdist.linux-x86_64/wheel/git/refs
copying build/lib/git/refs/__init__.py -> build/bdist.linux-x86_64/wheel/git/refs
copying build/lib/git/refs/tag.py -> build/bdist.linux-x86_64/wheel/git/refs
copying build/lib/git/refs/head.py -> build/bdist.linux-x86_64/wheel/git/refs
copying build/lib/git/refs/log.py -> build/bdist.linux-x86_64/wheel/git/refs
copying build/lib/git/refs/reference.py -> build/bdist.linux-x86_64/wheel/git/refs
copying build/lib/git/py.typed -> build/bdist.linux-x86_64/wheel/git
copying build/lib/git/util.py -> build/bdist.linux-x86_64/wheel/git
copying build/lib/git/exc.py -> build/bdist.linux-x86_64/wheel/git
copying build/lib/git/compat.py -> build/bdist.linux-x86_64/wheel/git
copying build/lib/git/diff.py -> build/bdist.linux-x86_64/wheel/git
creating build/bdist.linux-x86_64/wheel/git/index
copying build/lib/git/index/base.py -> build/bdist.linux-x86_64/wheel/git/index
copying build/lib/git/index/typ.py -> build/bdist.linux-x86_64/wheel/git/index
copying build/lib/git/index/__init__.py -> build/bdist.linux-x86_64/wheel/git/index
copying build/lib/git/index/fun.py -> build/bdist.linux-x86_64/wheel/git/index
copying build/lib/git/index/util.py -> build/bdist.linux-x86_64/wheel/git/index
copying build/lib/git/db.py -> build/bdist.linux-x86_64/wheel/git
copying build/lib/git/config.py -> build/bdist.linux-x86_64/wheel/git
copying build/lib/git/types.py -> build/bdist.linux-x86_64/wheel/git
creating build/bdist.linux-x86_64/wheel/git/repo
copying build/lib/git/repo/base.py -> build/bdist.linux-x86_64/wheel/git/repo
copying build/lib/git/repo/__init__.py -> build/bdist.linux-x86_64/wheel/git/repo
copying build/lib/git/repo/fun.py -> build/bdist.linux-x86_64/wheel/git/repo
running install_egg_info
Copying GitPython.egg-info to build/bdist.linux-x86_64/wheel/GitPython-3.1.36.1-py3.11.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/GitPython-3.1.36.1.dist-info/WHEEL
creating '/home/ek/repos-wsl/GitPython/dist/.tmp-n8d2_7ci/GitPython-3.1.36.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'git/__init__.py'
adding 'git/cmd.py'
adding 'git/compat.py'
adding 'git/config.py'
adding 'git/db.py'
adding 'git/diff.py'
adding 'git/exc.py'
adding 'git/py.typed'
adding 'git/remote.py'
adding 'git/types.py'
adding 'git/util.py'
adding 'git/index/__init__.py'
adding 'git/index/base.py'
adding 'git/index/fun.py'
adding 'git/index/typ.py'
adding 'git/index/util.py'
adding 'git/objects/__init__.py'
adding 'git/objects/base.py'
adding 'git/objects/blob.py'
adding 'git/objects/commit.py'
adding 'git/objects/fun.py'
adding 'git/objects/tag.py'
adding 'git/objects/tree.py'
adding 'git/objects/util.py'
adding 'git/objects/submodule/__init__.py'
adding 'git/objects/submodule/base.py'
adding 'git/objects/submodule/root.py'
adding 'git/objects/submodule/util.py'
adding 'git/refs/__init__.py'
adding 'git/refs/head.py'
adding 'git/refs/log.py'
adding 'git/refs/reference.py'
adding 'git/refs/remote.py'
adding 'git/refs/symbolic.py'
adding 'git/refs/tag.py'
adding 'git/repo/__init__.py'
adding 'git/repo/base.py'
adding 'git/repo/fun.py'
adding 'GitPython-3.1.36.1.dist-info/AUTHORS'
adding 'GitPython-3.1.36.1.dist-info/LICENSE'
adding 'GitPython-3.1.36.1.dist-info/METADATA'
adding 'GitPython-3.1.36.1.dist-info/WHEEL'
adding 'GitPython-3.1.36.1.dist-info/top_level.txt'
adding 'GitPython-3.1.36.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built GitPython-3.1.36.1.tar.gz and GitPython-3.1.36.1-py3-none-any.whl
# Upload to PyPI and push the tag.
twine upload dist/*
Uploading distributions to https://upload.pypi.org/legacy/
Enter your username: ^CTraceback (most recent call last):
File "/home/ek/repos-wsl/GitPython/.venv/bin/twine", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/ek/repos-wsl/GitPython/.venv/lib/python3.11/site-packages/twine/__main__.py", line 33, in main
error = cli.dispatch(sys.argv[1:])
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ek/repos-wsl/GitPython/.venv/lib/python3.11/site-packages/twine/cli.py", line 123, in dispatch
return main(args.args)
^^^^^^^^^^^^^^^
File "/home/ek/repos-wsl/GitPython/.venv/lib/python3.11/site-packages/twine/commands/upload.py", line 198, in main
return upload(upload_settings, parsed_args.dists)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ek/repos-wsl/GitPython/.venv/lib/python3.11/site-packages/twine/commands/upload.py", line 127, in upload
repository = upload_settings.create_repository()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ek/repos-wsl/GitPython/.venv/lib/python3.11/site-packages/twine/settings.py", line 329, in create_repository
self.username,
^^^^^^^^^^^^^
File "/home/ek/repos-wsl/GitPython/.venv/lib/python3.11/site-packages/twine/settings.py", line 131, in username
return cast(Optional[str], self.auth.username)
^^^^^^^^^^^^^^^^^^
File "/home/ek/repos-wsl/GitPython/.venv/lib/python3.11/site-packages/twine/auth.py", line 34, in username
return utils.get_userpass_value(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ek/repos-wsl/GitPython/.venv/lib/python3.11/site-packages/twine/utils.py", line 248, in get_userpass_value
value = prompt_strategy()
^^^^^^^^^^^^^^^^^
File "/home/ek/repos-wsl/GitPython/.venv/lib/python3.11/site-packages/twine/auth.py", line 85, in username_from_keyring_or_prompt
return self.prompt("username", input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ek/repos-wsl/GitPython/.venv/lib/python3.11/site-packages/twine/auth.py", line 96, in prompt
return how(f"Enter your {what}: ")
^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
make[1]: *** [Makefile:43: force_release] Interrupt
make: *** [Makefile:20: release] Interrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment