Skip to content

Allow release info change during apt-get update on ubuntu#2893

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
fxtatools:patch/workflow-ubuntu-virtual-display
Dec 9, 2023
Merged

Allow release info change during apt-get update on ubuntu#2893
j9ac9k merged 1 commit intopyqtgraph:masterfrom
fxtatools:patch/workflow-ubuntu-virtual-display

Conversation

@spchamp
Copy link
Copy Markdown
Contributor

@spchamp spchamp commented Dec 2, 2023

The following was showing up in the build log, for some CI builds under dependabot:

Reading package lists...
E: Repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease' changed its 'Origin' value from 'microsoft-ubuntu-jammy-prod jammy' to 'Pulp 3'
E: Repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease' changed its 'Label' value from 'microsoft-ubuntu-jammy-prod jammy' to ''
Error: Process completed with exit code 100.

This might be seen,for instance, in a recent dependabot build for Python 3.9

apt-get(8) documentation describes the --allow-releaseinfo-change arg. This was also mentioned at Ask Ubuntu

This patch updates the test-pip and test-conda jobs for the gh workflow, adding the --allow-releaseinfo-change arg for the apt-get update commands. This update is run before installing the Linux VirtualDisplay dependencies.

Files that need updates

Confirm the following files have been either updated or there has been a determination that no update is needed.

  • README.md
  • setup.py
  • tox.ini
  • [x ] .github/workflows/main.yml and associated requirements.txt and conda environemt.yml files
  • pyproject.toml
  • binder/requirements.txt

The following was showing up in the build log, or some
CI builds under dependabot:

> Reading package lists...
> E: Repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease' changed its 'Origin' value from 'microsoft-ubuntu-jammy-prod jammy' to 'Pulp 3'
> E: Repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease' changed its 'Label' value from 'microsoft-ubuntu-jammy-prod jammy' to ''
> Error: Process completed with exit code 100.

apt-get(8) documentation[1] describes the --allow-releaseinfo-change
arg. This was also mentioned at Ask Ubuntu[2]

This patch updates the test-pip and test-conda jobs for the gh workflow,
adding the --allow-releaseinfo-change arg for the apt-get update
commands. This update is run before installing the Linux VirtualDisplay
dependencies.

[1]: https://manpages.debian.org/unstable/apt/apt-get.8.en.html
[2]: https://askubuntu.com/a/1093202
@j9ac9k j9ac9k merged commit 9411449 into pyqtgraph:master Dec 9, 2023
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Dec 9, 2023

Thanks for the PR @spchamp !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants