Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #562

Closed
wants to merge 5 commits into from
Closed

Fix CI #562

wants to merge 5 commits into from

Conversation

anpin
Copy link
Contributor

@anpin anpin commented Nov 25, 2024

related to #548 #543

Copy link

netlify bot commented Nov 25, 2024

Deploy Preview for tweag-jupyterwith ready!

Name Link
🔨 Latest commit 513a4f8
🔍 Latest deploy log https://app.netlify.com/sites/tweag-jupyterwith/deploys/674470b075542b000817296c
😎 Deploy Preview https://deploy-preview-562--tweag-jupyterwith.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@anpin
Copy link
Contributor Author

anpin commented Nov 25, 2024

I wasn't been able to update poetry lock for postgres as it fails with

Updating modules/kernels/postgres/poetry.lock
Updating dependencies
Resolving dependencies... (2.1s)

Package operations: 2 installs, 0 updates, 0 removals

  - Installing psycopg2 (2.9.10): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke get_requires_for_build_wheel

  running egg_info
  writing psycopg2.egg-info/PKG-INFO
  writing dependency_links to psycopg2.egg-info/dependency_links.txt
  writing top-level names to psycopg2.egg-info/top_level.txt

  Error: pg_config executable not found.

  pg_config is required to build psycopg2 from source.  Please add the directory
  containing pg_config to the $PATH or specify the full executable path with the
  option:

      python setup.py build_ext --pg-config /path/to/pg_config build ...

  or with the pg_config option in 'setup.cfg'.

  If you prefer to avoid building psycopg2 from source, please install the PyPI
  'psycopg2-binary' package instead.

  For further information please check the 'doc/src/install.rst' file (also at
  <https://www.psycopg.org/docs/install.html>).



  at /nix/store/jmzhpv3d2cjkhb6gam9rzz5s1c565qqc-python3.12-poetry-1.8.4/lib/python3.12/site-packages/poetry/installation/chef.py:164 in _prepare
      160│
      161│                 error = ChefBuildError("\n\n".join(message_parts))
      162│
      163│             if error is not None:
    → 164│                 raise error from None
      165│
      166│             return path
      167│
      168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with psycopg2 (2.9.10) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "psycopg2 (==2.9.10)"'.

@anpin
Copy link
Contributor Author

anpin commented Nov 25, 2024

@GTrunSec Is there a way to re-trigger CI? Builder hanged for no apparent reason

@anpin anpin closed this Nov 25, 2024
@anpin anpin mentioned this pull request Nov 25, 2024
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