jesse icon indicating copy to clipboard operation
jesse copied to clipboard

Update requirements to 3.11.2

Open yakir4123 opened this issue 1 year ago • 1 comments

I wanted to upgrade my python version from 3.9 to 3.11 and i was unable to install jesse until i upgraded these packages. I tried on 3.11.2 and 3.11.7 and on both of them the installation didnt work.

yakir4123 avatar Feb 10 '24 16:02 yakir4123

Could you please show me the error that you're getting? Because I remember that in my previous release, I made it possible to upgrade and use Jesse with Python 3.11. And it's a little hard for me to believe that a patch version of Python is causing that. Are you using Jesse inside a virtual environment to ensure there's no conflict between it and other packages? Or maybe it's because I didn't test on Windows.

saleh-mir avatar Feb 15 '24 15:02 saleh-mir

Lol I just wanted to show you, just to make sure here is the error i saw:

Collecting psycopg2-binary==2.9.4 (from jesse==0.45.0)
  Using cached psycopg2-binary-2.9.4.tar.gz (384 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [23 lines of output]
      running egg_info
      creating /private/var/folders/x7/1yz0650n6xjf132n6977595h0000gn/T/pip-pip-egg-info-ia76b3xe/psycopg2_binary.egg-info
      writing /private/var/folders/x7/1yz0650n6xjf132n6977595h0000gn/T/pip-pip-egg-info-ia76b3xe/psycopg2_binary.egg-info/PKG-INFO
      writing dependency_links to /private/var/folders/x7/1yz0650n6xjf132n6977595h0000gn/T/pip-pip-egg-info-ia76b3xe/psycopg2_binary.egg-info/dependency_links.txt
      writing top-level names to /private/var/folders/x7/1yz0650n6xjf132n6977595h0000gn/T/pip-pip-egg-info-ia76b3xe/psycopg2_binary.egg-info/top_level.txt
      writing manifest file '/private/var/folders/x7/1yz0650n6xjf132n6977595h0000gn/T/pip-pip-egg-info-ia76b3xe/psycopg2_binary.egg-info/SOURCES.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>).
      
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

yakir4123 avatar Feb 22 '24 20:02 yakir4123

Thanks man

saleh-mir avatar Feb 22 '24 21:02 saleh-mir