You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caught this nasty error while attempting to execute jobfunnel inside of a virtual env.
Steps to Reproduce
Clone my repo (don't judge my code, it is scrapy): git clone https://github.com/anoduck/jobfunnel
Switch to dev branch: git checkout dev
Setup project with either poetry or pipenv (both resulted in the same output)
IFF poetry is chosen execute the following code for poetry to load deps from requirements: for item in $(cat requirements.txt); do poetry add "${item}"; done . Else, IFF pipenv, a simple pipenv install should do it.
Initialize the virtualenv with: ("pipenv" or "poetry") shell
Install jobfunnel with python setup.py install
Attempt to execute jobfunnel: /path/to/funnel/bin/funnel load -s my_settings.yml
Expected behavior
Previously, I was able to execute jobfunnel because it was installed as a regular user with python 3.10. Since, python has been updated to 3.11, and python-3.11 does not recognize jobfunnel as being installed. I expected the same configuration, but due to pep 668, this is no longer available without passing an uncomforting "--break-system-packages" flag.
Actual behavior
Jobfunnel now dumps nasty error message when attempted to be run from within a virtual env. The message is as follows.
Description
Caught this nasty error while attempting to execute jobfunnel inside of a virtual env.
Steps to Reproduce
git clone https://github.com/anoduck/jobfunnel
git checkout dev
for item in $(cat requirements.txt); do poetry add "${item}"; done
. Else, IFF pipenv, a simplepipenv install
should do it.("pipenv" or "poetry") shell
python setup.py install
/path/to/funnel/bin/funnel load -s my_settings.yml
Expected behavior
Previously, I was able to execute jobfunnel because it was installed as a regular user with python 3.10. Since, python has been updated to 3.11, and python-3.11 does not recognize jobfunnel as being installed. I expected the same configuration, but due to pep 668, this is no longer available without passing an uncomforting "--break-system-packages" flag.
Actual behavior
Jobfunnel now dumps nasty error message when attempted to be run from within a virtual env. The message is as follows.
For poetry:
For pipenv:
Environment
The text was updated successfully, but these errors were encountered: