2025-08-08 22:56:21,457 - git.cmd - DEBUG - Popen(['git', 'push', '--set-upstream', 'origin', 'prometheus_fix_f2168586d2'], cwd=/Users/mac1/PycharmProjects/Pantheon/Prometheus/working_dir/repositories/ad6187eecf97487a966d53f556b7808a/astropy, stdin=None, shell=False, universal_newlines=False)
Password for 'https://your_github_token@github.com':
2025-08-08 22:56:43,375 - git.cmd - INFO - git push --set-upstream origin prometheus_fix_f2168586d2 -> 128; stdout: '<OUTPUT_STREAM>'; stderr: 'remote: Invalid username or token. Password authentication is not supported for Git operations.
fatal: Authentication failed for 'https://github.com/astropy/astropy.git/''
2025-08-08 22:56:43,379 - prometheus - ERROR - Error in answer_issue: Cmd('git') failed due to: exit code(128)
cmdline: git push --set-upstream origin prometheus_fix_f2168586d2
stderr: 'remote: Invalid username or token. Password authentication is not supported for Git operations.
fatal: Authentication failed for 'https://github.com/astropy/astropy.git/''
Traceback (most recent call last):
File "/Users/mac1/PycharmProjects/Pantheon/Prometheus/prometheus/app/services/issue_service.py", line 138, in answer_issue
await repository.create_and_push_branch(
File "/Users/mac1/PycharmProjects/Pantheon/Prometheus/prometheus/git/git_repository.py", line 158, in create_and_push_branch
await asyncio.to_thread(self.repo.git.push, "--set-upstream", "origin", branch_name)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/threads.py", line 25, in to_thread
return await loop.run_in_executor(None, func_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac1/Library/Python/3.11/lib/python/site-packages/git/cmd.py", line 986, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac1/Library/Python/3.11/lib/python/site-packages/git/cmd.py", line 1599, in _call_process
return self.execute(call, **exec_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac1/Library/Python/3.11/lib/python/site-packages/git/cmd.py", line 1389, in execute
raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git push --set-upstream origin prometheus_fix_f2168586d2
stderr: 'remote: Invalid username or token. Password authentication is not supported for Git operations.
fatal: Authentication failed for 'https://github.com/astropy/astropy.git/''
2025-08-08 22:56:21,457 - git.cmd - DEBUG - Popen(['git', 'push', '--set-upstream', 'origin', 'prometheus_fix_f2168586d2'], cwd=/Users/mac1/PycharmProjects/Pantheon/Prometheus/working_dir/repositories/ad6187eecf97487a966d53f556b7808a/astropy, stdin=None, shell=False, universal_newlines=False)
Password for 'https://your_github_token@github.com':
2025-08-08 22:56:43,375 - git.cmd - INFO - git push --set-upstream origin prometheus_fix_f2168586d2 -> 128; stdout: '<OUTPUT_STREAM>'; stderr: 'remote: Invalid username or token. Password authentication is not supported for Git operations.
fatal: Authentication failed for 'https://github.com/astropy/astropy.git/''
2025-08-08 22:56:43,379 - prometheus - ERROR - Error in answer_issue: Cmd('git') failed due to: exit code(128)
cmdline: git push --set-upstream origin prometheus_fix_f2168586d2
stderr: 'remote: Invalid username or token. Password authentication is not supported for Git operations.
fatal: Authentication failed for 'https://github.com/astropy/astropy.git/''
Traceback (most recent call last):
File "/Users/mac1/PycharmProjects/Pantheon/Prometheus/prometheus/app/services/issue_service.py", line 138, in answer_issue
await repository.create_and_push_branch(
File "/Users/mac1/PycharmProjects/Pantheon/Prometheus/prometheus/git/git_repository.py", line 158, in create_and_push_branch
await asyncio.to_thread(self.repo.git.push, "--set-upstream", "origin", branch_name)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/threads.py", line 25, in to_thread
return await loop.run_in_executor(None, func_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac1/Library/Python/3.11/lib/python/site-packages/git/cmd.py", line 986, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac1/Library/Python/3.11/lib/python/site-packages/git/cmd.py", line 1599, in _call_process
return self.execute(call, **exec_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac1/Library/Python/3.11/lib/python/site-packages/git/cmd.py", line 1389, in execute
raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git push --set-upstream origin prometheus_fix_f2168586d2
stderr: 'remote: Invalid username or token. Password authentication is not supported for Git operations.
fatal: Authentication failed for 'https://github.com/astropy/astropy.git/''