Jan-14-2021, 07:46 PM
Hi everyone I am glad to be posting my first question in here. Thanks in advance.
I have a module on poetry which imports two other modules.
When I run pip install --no-deps -U PythonLambda/db_woodchipper_rds_instance_count/
I get the following error:
├── awsutil
│ ├── Makefile
│ ├── README.rst
│ ├── poetry.lock
│ ├── pyproject.toml
│ ├── setup.py
│ ├── src
│ │ └── awsutil
│ │ ├── __init__.py
│ │ ├── kinesis.py
│ └── tests
│ ├── __init__.py
── db_woodchipper_rds_instance_count
│ ├── Makefile
│ ├── build
│ │ ├── distributions
│ │ └── test-results
│ │ └── db_woodchipper_rds_instance_count
│ │ └── result.xml
│ ├── poetry.lock
│ ├── pyproject.toml
│ ├── src
│ │ └── db_woodchipper_rds_instance_count
│ │ ├── __init__.py
│ │ └── instance_count.py
│ └── tests
│ ├── __init__.py
│ └── test_db_woodchipper_rds_instance_count.py
├── gusutil
│ ├── Makefile
│ ├── README.rst
│ ├── build
│ │ └── test-results
│ │ └── gusutil
│ │ └── result.xml
│ ├── poetry.lock
│ ├── pyproject.toml
│ ├── setup.py
│ ├── src
│ │ └── gusutil
│ │ ├── __init__.py
│ │ ├── gus_util.py
│ │ └── query_util.py
│ └── tests
│ ├── __init__.py
│ └── test_gusutil.py
Note: gusutil also imports awsutil.
Does anyone know what am I doing wrong in here?
Any help would be greatly appreciated! Thanks a lot.
I have a module on poetry which imports two other modules.
When I run pip install --no-deps -U PythonLambda/db_woodchipper_rds_instance_count/
I get the following error:
Error: File "/private/var/folders/z8/wstptfzd75gb_cmbr6x3rhf40000gn/T/pip-build-env-usxpnuv9/overlay/lib/python3.8/site-packages/poetry/core/packages/directory_dependency.py", line 36, in __init__
raise ValueError("Directory {} does not exist".format(self._path))
ValueError: Directory ../awsutil does not exist
----------------------------------------
This is my poetry file for db_woodchipper_rds_instance_count:[tool.poetry] name = "db_woodchipper_rds_instance_count" version = "0.1.0" description = "" authors = [tool.poetry.dependencies] python = "^3.8" boto3 = "^1.16.28" awsutil = {path = "../awsutil", develop = false} gusutil = {path = "../gusutil", develop = false} [tool.poetry.dev-dependencies] pytest = "^5.2" moto = "^1.3.16" black = "^20.8b1" isort = "^5.6.4" lint = "^1.2.1" pylint = "^2.6.0" sure = "^1.4.11" [build-system] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api"This is the folder structure:
├── awsutil
│ ├── Makefile
│ ├── README.rst
│ ├── poetry.lock
│ ├── pyproject.toml
│ ├── setup.py
│ ├── src
│ │ └── awsutil
│ │ ├── __init__.py
│ │ ├── kinesis.py
│ └── tests
│ ├── __init__.py
── db_woodchipper_rds_instance_count
│ ├── Makefile
│ ├── build
│ │ ├── distributions
│ │ └── test-results
│ │ └── db_woodchipper_rds_instance_count
│ │ └── result.xml
│ ├── poetry.lock
│ ├── pyproject.toml
│ ├── src
│ │ └── db_woodchipper_rds_instance_count
│ │ ├── __init__.py
│ │ └── instance_count.py
│ └── tests
│ ├── __init__.py
│ └── test_db_woodchipper_rds_instance_count.py
├── gusutil
│ ├── Makefile
│ ├── README.rst
│ ├── build
│ │ └── test-results
│ │ └── gusutil
│ │ └── result.xml
│ ├── poetry.lock
│ ├── pyproject.toml
│ ├── setup.py
│ ├── src
│ │ └── gusutil
│ │ ├── __init__.py
│ │ ├── gus_util.py
│ │ └── query_util.py
│ └── tests
│ ├── __init__.py
│ └── test_gusutil.py
Note: gusutil also imports awsutil.
Does anyone know what am I doing wrong in here?
Any help would be greatly appreciated! Thanks a lot.