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

errors when running make deps, make install-development #1981

Open
JohnLCaron opened this issue Sep 7, 2024 · 2 comments
Open

errors when running make deps, make install-development #1981

JohnLCaron opened this issue Sep 7, 2024 · 2 comments

Comments

@JohnLCaron
Copy link

Im not a python or nodejs user, and havent installed postgres, but im surprised that the makes arent working:

Environment:

~/dev/github/rla/arlo:$ uname -v
#40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2

~/dev/github/rla/arlo:$ python -V
Command 'python' not found, did you mean:
  command 'python3' from deb python3
  command 'python' from deb python-is-python3
~/dev/github/rla/arlo:$ python3 -V
Python 3.10.12

~/dev/github/rla/arlo:$ yarn -v
4.4.1

~/dev/github/rla/arlo:$ poetry -V
Poetry version 1.1.12

~/dev/github/rla/arlo:$ node -v
v20.17.0

Getting these errors when running make:


~/dev/github/rla/arlo:$ make deps
sudo apt update
Get:1 https://cli.github.com/packages stable InRelease [3,917 B]
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease                                                 
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy InRelease                                                     
Err:1 https://cli.github.com/packages stable InRelease                                                        
  The following signatures were invalid: EXPKEYSIG 23F3D4EA75716059 GitHub CLI <opensource+cli@github.com>
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease                                             
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease                                              
Hit:6 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease                                           
Get:7 https://typora.io/linux ./ InRelease [793 B]                                                            
Hit:8 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease       
Ign:9 https://ppa.launchpadcontent.net/lyx-devel/release/ubuntu jammy InRelease
Hit:10 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease
Hit:11 https://ppa.launchpadcontent.net/ubuntuhandbook1/keepass2/ubuntu jammy InRelease
Hit:12 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease
Err:13 https://ppa.launchpadcontent.net/lyx-devel/release/ubuntu jammy Release
  404  Not Found [IP: 2620:2d:4000:1::81 443]
Hit:14 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://cli.github.com/packages stable InRelease: The following signatures were invalid: EXPKEYSIG 23F3D4EA75716059 GitHub CLI <opensource+cli@github.com>
E: The repository 'https://ppa.launchpadcontent.net/lyx-devel/release/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
make: *** [Makefile:5: deps] Error 100
~/dev/github/rla/arlo:$ make install-development
poetry install
Creating virtualenv arlo-ODMKy15A-py3.10 in /home/stormy/.cache/pypoetry/virtualenvs
Installing dependencies from lock file

  SolverProblemError

  The current project's Python requirement (3.10.12) is not compatible with some of the required packages Python requirement:
    - scipy requires Python >=3.7,<3.10, so it will not be satisfied for Python 3.10.12
  
  Because scipy (1.6.3) requires Python >=3.7,<3.10
   and no versions of scipy match >=1.6.0,<1.6.3 || >1.6.3,<1.7.0, scipy is forbidden.
  So, because arlo depends on scipy (~1.6.0), version solving failed.

  at /usr/lib/python3/dist-packages/poetry/puzzle/solver.py:241 in _solve
      237│             packages = result.packages
      238│         except OverrideNeeded as e:
      239│             return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
      240│         except SolveFailure as e:
    → 241│             raise SolverProblemError(e)
      242│ 
      243│         results = dict(
      244│             depth_first_search(
      245│                 PackageNode(self._package, packages), aggregate_package_nodes

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For scipy, a possible solution would be to set the `python` property to "<empty>"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers
make: *** [Makefile:23: install-development] Error 1

It appears I need a different python version? Do I need to install that myself?? Or is the error in "make deps" the problem?

thanks

@williammartin
Copy link

Hi folks, many apologies for the troubles from the GitHub CLI.

I'm not familiar with this repository but am keeping a lookout for issues referencing EXPKEYSIG 23F3D4EA75716059. At least in the first case of make deps, this is an upstream problem from our end which you can read more about here. The TL;DR is that the public key used to verify the gh package repository expired yesterday, so you'll want to get the new key by probably following these instructions.

Potentially the second failure is due to not having the correct dependencies from the first, but I guess the maintainers here would be better suited to answer that.

@JohnLCaron
Copy link
Author

Im guessing that the GitHub CLI keys arent the problem here.

Any reason not to upgrade your dependencies to the latest? Doing a fresh install I get:

python3
Python 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0] on linux
>>> import numpy
>>> numpy.__version__
'1.26.4'
>>> import scipy
>>> scipy.__version__
'1.11.4'

pyproject.toml has:

python = "^3.8"
numpy = "^1.22.0"
scipy = "~1.6.0"

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

No branches or pull requests

2 participants