Skip to content

Pin pygments in CI#9938

Merged
jakelishman merged 1 commit intoQiskit:mainfrom
mtreinish:pin-pygments
Apr 11, 2023
Merged

Pin pygments in CI#9938
jakelishman merged 1 commit intoQiskit:mainfrom
mtreinish:pin-pygments

Conversation

@mtreinish
Copy link
Copy Markdown
Member

Summary

The recent release of pygments 2.15.0 [1] has started emitting an error in the custom qasm pygments lexer included in qiskit in OpenQASMLexer. In the interest of not blocking CI this commit pins the pygments version we're installing in CI. Longer term, we should probably look at just deprecating the qiskit version and just using openqasm-pygments which is the pygments tools for OpenQASM maintained by the openqasm community.

Details and comments

[1] https://pypi.org/project/Pygments/2.15.0/

The recent release of pygments 2.15.0 [1] has started emitting an
error in the custom qasm pygments lexer included in qiskit in
OpenQASMLexer. In the interest of not blocking CI this commit pins the
pygments version we're installing in CI. Longer term, we should probably
look at just deprecating the qiskit version and just using
openqasm-pygments which is the pygments tools for OpenQASM maintained by
the openqasm community.

[1] https://pypi.org/project/Pygments/2.15.0/
@mtreinish mtreinish added type: qa Issues and PRs that relate to testing and code quality Changelog: None Do not include in the GitHub Release changelog. labels Apr 11, 2023
@mtreinish mtreinish requested a review from a team as a code owner April 11, 2023 12:24
@qiskit-bot
Copy link
Copy Markdown
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the the following people are requested to review this:

  • @Qiskit/terra-core

@jakelishman jakelishman added the stable backport potential Make Mergify open a backport PR to the most recent stable branch on merge. label Apr 11, 2023
@jakelishman jakelishman enabled auto-merge April 11, 2023 12:25
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 4667467554

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 8 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.0008%) to 85.432%

Files with Coverage Reduction New Missed Lines %
crates/accelerate/src/vf2_layout.rs 8 86.44%
Totals Coverage Status
Change from base Build 4632030902: 0.0008%
Covered Lines: 67793
Relevant Lines: 79353

💛 - Coveralls

@jakelishman jakelishman added this pull request to the merge queue Apr 11, 2023
Merged via the queue into Qiskit:main with commit f623764 Apr 11, 2023
mergify Bot pushed a commit that referenced this pull request Apr 11, 2023
The recent release of pygments 2.15.0 [1] has started emitting an
error in the custom qasm pygments lexer included in qiskit in
OpenQASMLexer. In the interest of not blocking CI this commit pins the
pygments version we're installing in CI. Longer term, we should probably
look at just deprecating the qiskit version and just using
openqasm-pygments which is the pygments tools for OpenQASM maintained by
the openqasm community.

[1] https://pypi.org/project/Pygments/2.15.0/

(cherry picked from commit f623764)
jakelishman pushed a commit that referenced this pull request Apr 11, 2023
The recent release of pygments 2.15.0 [1] has started emitting an
error in the custom qasm pygments lexer included in qiskit in
OpenQASMLexer. In the interest of not blocking CI this commit pins the
pygments version we're installing in CI. Longer term, we should probably
look at just deprecating the qiskit version and just using
openqasm-pygments which is the pygments tools for OpenQASM maintained by
the openqasm community.

[1] https://pypi.org/project/Pygments/2.15.0/

(cherry picked from commit f623764)

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
@mtreinish mtreinish deleted the pin-pygments branch April 11, 2023 19:13
giacomoRanieri pushed a commit to giacomoRanieri/qiskit-terra that referenced this pull request Apr 16, 2023
The recent release of pygments 2.15.0 [1] has started emitting an
error in the custom qasm pygments lexer included in qiskit in
OpenQASMLexer. In the interest of not blocking CI this commit pins the
pygments version we're installing in CI. Longer term, we should probably
look at just deprecating the qiskit version and just using
openqasm-pygments which is the pygments tools for OpenQASM maintained by
the openqasm community.

[1] https://pypi.org/project/Pygments/2.15.0/
king-p3nguin pushed a commit to king-p3nguin/qiskit-terra that referenced this pull request May 22, 2023
The recent release of pygments 2.15.0 [1] has started emitting an
error in the custom qasm pygments lexer included in qiskit in
OpenQASMLexer. In the interest of not blocking CI this commit pins the
pygments version we're installing in CI. Longer term, we should probably
look at just deprecating the qiskit version and just using
openqasm-pygments which is the pygments tools for OpenQASM maintained by
the openqasm community.

[1] https://pypi.org/project/Pygments/2.15.0/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: None Do not include in the GitHub Release changelog. stable backport potential Make Mergify open a backport PR to the most recent stable branch on merge. type: qa Issues and PRs that relate to testing and code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants