Skip to content

Conversation

popododo0720
Copy link
Contributor

Closes #13638

Description

Fixed deprecated gh pr new command in scripts/prepare-release-pr.py to use gh pr create instead.

Problem

  • gh pr new was deprecated in GitHub CLI 2.0 and is no longer a valid command
  • Script fails when executed with modern GitHub CLI versions

Solution

  • Replaced gh pr new with gh pr create in prepare-release-pr.py (line 133)
  • Added changelog entry (changelog/13638.bugfix.rst)
  • Updated AUTHORS file

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Aug 8, 2025
Copy link
Member

@webknjaz webknjaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additionally to changing the note type, the markup could be improved a little.

@nicoddemus nicoddemus force-pushed the fix-gh-pr-new-command branch from 27b2fa8 to 945f7f6 Compare August 27, 2025 10:05
@nicoddemus nicoddemus enabled auto-merge (squash) August 27, 2025 10:05
@nicoddemus nicoddemus merged commit 3d58e8d into pytest-dev:main Aug 27, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided (automation) changelog entry is part of PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gh pr new - No longer valid. Use gh pr create.
4 participants