-vvv option).I am not sure what is going on, since dynamic-rest 1.8.0 is supposed to be compatible with django 2.0.7:
禄 poetry add dynamic-rest==1.8.0
Updating dependencies
Resolving dependencies... (0.2s)
[SolverProblemError]
Because dynamic-rest (1.8.0) depends on Django (>=1.8,<2.0)
and poetry-demo depends on Django (^2.0.7), dynamic-rest is forbidden.
So, because poetry-demo depends on dynamic-rest (=1.8.0), version solving failed.
add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...
I am on python 3.6.5:
禄 python --version
Python 3.6.5
According to dynamic-rest sources, these are the requirements for python 3:
Django>=1.8,<2.1
djangorestframework>=3.1.0,<3.8
inflection==0.3.1
requests
according to this, version 1.8 does not support django 2.0
but in release notes, it says it supports django 2.0, lol
according to this, version 1.8 does not support django 2.0
Yes, and afaik, that is used for python 2 (https://github.com/AltSchool/dynamic-rest/blob/master/setup.py):
install_requires=open('install_requires.txt'
if sys.version_info.major == 2
else 'install_requires_python3.txt').readlines(),
The relevant file for python 3 should be the one I linked above, which has:
Django>=1.8,<2.1
djangorestframework>=3.1.0,<3.8
inflection==0.3.1
requests
So, in theory this is compatible with Django 2.0 when using python3.
No idea what is going on.
@sdispater: could it be that poetry is making assumptions and using install_requires.txt if it exists, instead of relying on the execution of setup.py?
I have a related issue open in the other project: https://github.com/AltSchool/dynamic-rest/issues/264
Hi,
is there any plan to having this fixed? This is currently the only blocker for our using this otherwise amazing tool.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing this issue automatically because it has not had any activity since it has been marked as stale. If you think it is still relevant and should be addressed, feel free to open a new one.
Most helpful comment
Yes, and afaik, that is used for python 2 (https://github.com/AltSchool/dynamic-rest/blob/master/setup.py):
The relevant file for python 3 should be the one I linked above, which has:
So, in theory this is compatible with Django 2.0 when using python3.
No idea what is going on.
@sdispater: could it be that
poetryis making assumptions and usinginstall_requires.txtif it exists, instead of relying on the execution ofsetup.py?I have a related issue open in the other project: https://github.com/AltSchool/dynamic-rest/issues/264