[SolverProblemError]Because biscuit-ng depends on twilio (^6.33) which doesn't match any versions, version solving failed.
[SolverProblemError] Because django-two-factor-auth (1.9.1) depends on django-phonenumber-field (>=1.1.0,<1.99) and no versions of django-two-factor-auth match >=1.9,<1.9.1 || >1.9.1,<2.0, django-two-factor-auth (>=1.9,<2.0) requires django-phonenumber-field (>=1.1.0,<1.99). So, because biscuit-ng depends on both django-phonenumber-field (^3.0) and django-two-factor-auth (^1.9), version solving failed.
✓
2 of 2 checklist items completed
· Edited
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
@debdolph Please post the exact commands and output (calling poetry with -vvv) that show the installation not working, plus the changes to pyproject.toml and the output of poetry when you make it non-optional.
(biscuit) root@plaskebasseng:/usr/src/BiscuIT-ng# poetry install -vvvUsing virtualenv: /srv/biscuitInstalling dependencies from lock fileWarning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.[SolverProblemError] Because biscuit-ng depends on twilio (^6.33) which doesn't match any versions, version solving failed. Exception trace: /usr/local/lib/python3.7/dist-packages/cleo/application.py in run() at line 94 status_code = self.do_run(input_, output_) /usr/local/lib/python3.7/dist-packages/poetry/console/application.py in do_run() at line 88 return super(Application, self).do_run(i, o) /usr/local/lib/python3.7/dist-packages/cleo/application.py in do_run() at line 197 status_code = command.run(input_, output_) /usr/local/lib/python3.7/dist-packages/poetry/console/commands/command.py in run() at line 77 return super(BaseCommand, self).run(i, o) /usr/local/lib/python3.7/dist-packages/cleo/commands/base_command.py in run() at line 146 status_code = self.execute(input_, output_) /usr/local/lib/python3.7/dist-packages/cleo/commands/command.py in execute() at line 107 return self.handle() /usr/local/lib/python3.7/dist-packages/poetry/console/commands/install.py in handle() at line 55 return_code = installer.run() /usr/local/lib/python3.7/dist-packages/poetry/installation/installer.py in run() at line 73 self._do_install(local_repo) /usr/local/lib/python3.7/dist-packages/poetry/installation/installer.py in _do_install() at line 229 ops = solver.solve(use_latest=whitelist) /usr/local/lib/python3.7/dist-packages/poetry/puzzle/solver.py in solve() at line 38 packages, depths = self._solve(use_latest=use_latest) /usr/local/lib/python3.7/dist-packages/poetry/puzzle/solver.py in _solve() at line 180 raise SolverProblemError(e)install [--no-dev] [--dry-run] [-E|--extras EXTRAS] [--develop DEVELOP]
And, with updatet poetry.lock and twilio = "^6.33"
(biscuit) root@plaskebasseng:/usr/src/BiscuIT-ng# poetry installInstalling dependencies from lock fileNothing to install or update - Installing BiscuIT-ng (1.0a4.dev0)[EnvCommandError] Command ['/srv/biscuit/bin/python', '-m', 'pip', 'install', '-e', '/usr/src/BiscuIT-ng'] errored with the following return code 1, and output: Obtaining file:///usr/src/BiscuIT-ng ERROR: Command errored out with exit status 1: command: /srv/biscuit/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/usr/src/BiscuIT-ng/setup.py'"'"'; __file__='"'"'/usr/src/BiscuIT-ng/setup.py'"'"';f=getat tr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info cwd: /usr/src/BiscuIT-ng/ Complete output (1 lines): error in biscuit-ng setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers. ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. install [--no-dev] [--dry-run] [-E|--extras EXTRAS] [--develop DEVELOP]