From 499f9952741433a995ce0571999ce67c97e7c6a3 Mon Sep 17 00:00:00 2001 From: Mukulika Date: Wed, 27 Oct 2021 19:21:08 +0530 Subject: [PATCH 1/4] ENH: Add prompt for title in issue forms --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 +- .github/ISSUE_TEMPLATE/documentation.yml | 2 +- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- .github/ISSUE_TEMPLATE/post-install.yml | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index b46225968604..3f59537ec2e1 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,6 +1,6 @@ name: Bug report description: Report a bug. For security vulnerabilities see Report a security vulnerability in the templates. -title: "BUG: " +title: "BUG: " labels: [00 - Bug] body: diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index 1005d3ade5b2..b8f2db180559 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -1,6 +1,6 @@ name: Documentation description: Report an issue related to the NumPy documentation. -title: "DOC: " +title: "DOC: " labels: [04 - Documentation] body: diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 5e2af4015a79..9860b3a84e40 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,6 +1,6 @@ name: Feature request description: Check instructions for submitting your idea on the mailing list first. -title: "ENH: " +title: "ENH: " body: - type: markdown diff --git a/.github/ISSUE_TEMPLATE/post-install.yml b/.github/ISSUE_TEMPLATE/post-install.yml index 5831994d10ca..b8bd266a2b95 100644 --- a/.github/ISSUE_TEMPLATE/post-install.yml +++ b/.github/ISSUE_TEMPLATE/post-install.yml @@ -1,5 +1,6 @@ name: Post-install/importing issue description: Report an issue if you have trouble importing or using NumPy after installation. +title: "" labels: [32 - Installation] body: From 8eb65ed186009468cc2929b054f894896aab7fd4 Mon Sep 17 00:00:00 2001 From: Mukulika Date: Wed, 27 Oct 2021 19:53:47 +0530 Subject: [PATCH 2/4] ENH: Add placeholder for traceback --- .github/ISSUE_TEMPLATE/bug-report.yml | 6 ++++-- .github/ISSUE_TEMPLATE/documentation.yml | 2 +- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- .github/ISSUE_TEMPLATE/post-install.yml | 4 +++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 3f59537ec2e1..dd758d1cddf8 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,6 +1,6 @@ name: Bug report description: Report a bug. For security vulnerabilities see Report a security vulnerability in the templates. -title: "BUG: " +title: "BUG: " labels: [00 - Bug] body: @@ -35,10 +35,12 @@ body: attributes: label: "Error message:" description: > - Please include full error message, if any (starting from `Traceback: ...`). + Please include full error message, if any. If you are reporting a segfault please include a GDB traceback, which you can generate by following [these instructions](https://github.com/numpy/numpy/blob/main/doc/source/dev/development_environment.rst#debugging). + placeholder: | + << Full traceback starting from `Traceback: ...` >> render: shell - type: textarea diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index b8f2db180559..c612059053ca 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -1,6 +1,6 @@ name: Documentation description: Report an issue related to the NumPy documentation. -title: "DOC: " +title: "DOC: " labels: [04 - Documentation] body: diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 9860b3a84e40..2e2d9205d008 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,6 +1,6 @@ name: Feature request description: Check instructions for submitting your idea on the mailing list first. -title: "ENH: " +title: "ENH: " body: - type: markdown diff --git a/.github/ISSUE_TEMPLATE/post-install.yml b/.github/ISSUE_TEMPLATE/post-install.yml index b8bd266a2b95..a5fa07be0279 100644 --- a/.github/ISSUE_TEMPLATE/post-install.yml +++ b/.github/ISSUE_TEMPLATE/post-install.yml @@ -17,10 +17,12 @@ body: attributes: label: "Error message:" description: > - Please include full error message, if any (starting from `Traceback: ...`). + Please include full error message, if any. If you are reporting a segfault please include a GDB traceback, which you can generate by following [these instructions](https://github.com/numpy/numpy/blob/main/doc/source/dev/development_environment.rst#debugging). + placeholder: | + << Full traceback starting from `Traceback: ...` >> render: shell - type: textarea From e150fca0412f241524584437d0775ffe438b2031 Mon Sep 17 00:00:00 2001 From: Mukulika Date: Wed, 27 Oct 2021 19:58:15 +0530 Subject: [PATCH 3/4] Add quotes --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 +- .github/ISSUE_TEMPLATE/documentation.yml | 2 +- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index dd758d1cddf8..29d0d0dd0f22 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,6 +1,6 @@ name: Bug report description: Report a bug. For security vulnerabilities see Report a security vulnerability in the templates. -title: "BUG: " +title: "BUG: " labels: [00 - Bug] body: diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index c612059053ca..afff9ab5f1cd 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -1,6 +1,6 @@ name: Documentation description: Report an issue related to the NumPy documentation. -title: "DOC: " +title: "DOC: " labels: [04 - Documentation] body: diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 2e2d9205d008..390c3d53bba2 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,6 +1,6 @@ name: Feature request description: Check instructions for submitting your idea on the mailing list first. -title: "ENH: " +title: "ENH: " body: - type: markdown From fe8d88e7384585d21d8bfc7e1450bcdb6f965c70 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Oct 2022 13:13:21 +0000 Subject: [PATCH 4/4] MAINT: Bump pytest from 6.2.5 to 7.2.0 Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.2.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.2.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- test_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_requirements.txt b/test_requirements.txt index 51f678670968..fbff39e0ab76 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -2,7 +2,7 @@ cython==0.29.24 wheel<0.37.1 setuptools<49.2.0 hypothesis==6.24.0 -pytest==6.2.5 +pytest==7.2.0 pytz==2021.3 pytest-cov==3.0.0 pickle5; python_version == '3.7' and platform_python_implementation != 'PyPy'