6
mirror of https://github.com/AllSpiceIO/post-dr-comment.git synced 2025-04-04 13:26:33 +00:00

Compare commits

...

18 Commits
v0.1.2 ... main

Author SHA1 Message Date
Shrikanth Upadhayaya
51bd2c25d9
Merge pull request from AllSpiceIO/su/dr-no-error
Raise a clearer error if design review number is not set
2025-03-31 16:35:24 -04:00
Shrikanth Upadhayaya
4e95d8d6a4
Merge pull request from AllSpiceIO/dependabot/pip/ruff-0.9.9
Bump ruff from 0.9.4 to 0.9.9
2025-03-18 09:43:15 -04:00
Shrikanth Upadhayaya
5858a5d3ac
Merge pull request from AllSpiceIO/dependabot/pip/py-allspice-approx-eq-3.8.0
Update py-allspice requirement from ~=3.5.0 to ~=3.8.0
2025-03-18 09:38:31 -04:00
Shrikanth Upadhayaya
831bd5cb0f
Raise a clearer error if design review number is not set
If `post-dr-comment` is called in a run which is not on a design review,
the DR number is not set in the context. This previously led to an
incomprehensible error. This commit checks early to make sure the design
review number is set and errors with an explanation if it isn't.
2025-03-17 15:21:18 -04:00
dependabot[bot]
b133efd549
Update py-allspice requirement from ~=3.5.0 to ~=3.8.0
Updates the requirements on [py-allspice](https://github.com/AllSpiceIO/py-allspice) to permit the latest version.
- [Release notes](https://github.com/AllSpiceIO/py-allspice/releases)
- [Changelog](https://github.com/AllSpiceIO/py-allspice/blob/main/CHANGELOG.md)
- [Commits](https://github.com/AllSpiceIO/py-allspice/compare/v3.5.0...v3.8.0)

---
updated-dependencies:
- dependency-name: py-allspice
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 22:07:16 +00:00
dependabot[bot]
a338dddef8
Bump ruff from 0.9.4 to 0.9.9
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.9.4 to 0.9.9.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.9.4...0.9.9)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 22:07:13 +00:00
cc4eab875e
Merge pull request from AllSpiceIO/dependabot/pip/ruff-0.9.4
Bump ruff from 0.8.4 to 0.9.4
2025-02-02 14:42:06 -06:00
dependabot[bot]
6e071eba2d
Bump ruff from 0.8.4 to 0.9.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.4 to 0.9.4.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.8.4...0.9.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-01 23:02:30 +00:00
4f2c3c21cf
Merge pull request from AllSpiceIO/dependabot/pip/ruff-0.8.4
Bump ruff from 0.8.1 to 0.8.4
2025-01-02 08:38:27 -08:00
dependabot[bot]
1e1ce27424
Bump ruff from 0.8.1 to 0.8.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.1 to 0.8.4.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.8.1...0.8.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-01 22:21:59 +00:00
77568faa96
Merge pull request from AllSpiceIO/dependabot/pip/ruff-0.8.1
Bump ruff from 0.7.2 to 0.8.1
2024-12-02 09:43:31 -05:00
dependabot[bot]
24f483cd60
Bump ruff from 0.7.2 to 0.8.1
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.2 to 0.8.1.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.7.2...0.8.1)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-01 22:45:21 +00:00
601320e6ac
Merge pull request from AllSpiceIO/dependabot/pip/ruff-0.7.2
Bump ruff from 0.6.8 to 0.7.2
2024-11-02 08:50:06 -04:00
dependabot[bot]
4465b06465
Bump ruff from 0.6.8 to 0.7.2
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.8 to 0.7.2.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.8...0.7.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-01 22:13:35 +00:00
31bbef1ff0
Merge pull request from AllSpiceIO/dependabot/pip/ruff-0.6.8
Bump ruff from 0.6.4 to 0.6.8
2024-10-02 08:34:59 +02:00
dependabot[bot]
d358fd8b6a
Bump ruff from 0.6.4 to 0.6.8
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.4 to 0.6.8.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.4...0.6.8)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 22:17:37 +00:00
7ecfad7d8b
Merge pull request from AllSpiceIO/su/py-311
Downgrade to python 3.11
2024-09-06 12:18:56 -04:00
Shrikanth Upadhayaya
741b40d81e
Downgrade to python 3.11
We're seeing this error:
https://github.com/python/cpython/issues/120788

In some runs, so this commit downgrades Python to 3.11, as all reports of that bug seem to be from 3.12.
2024-09-06 09:02:28 -07:00
4 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM python:3.12-bookworm
FROM python:3.11-bookworm
COPY requirements.txt /requirements.txt
COPY post_dr_comment.py /post_dr_comment.py

View File

@ -168,6 +168,11 @@ def main():
args = parser.parse_args()
if not args.design_review_number.isdigit():
raise ValueError(
"Design review number is either not set or not a number; this run may not be on a pull request event?"
)
logger.setLevel(args.log_level.upper())
client = AllSpice(
args.allspice_hub_url,

View File

@ -1 +1 @@
ruff==0.6.4
ruff==0.9.9

View File

@ -1,3 +1,3 @@
py-allspice~=3.5.0
py-allspice~=3.8.0
PyYAML~=6.0.2