Skip to content

Commit

Permalink
Specify the oemof dependency correctly
Browse files Browse the repository at this point in the history
The egg fragment has to have the correct version suffix and the
dependency has to be pinned, probably because the `'.dev0'` suffix
prohibits comparison to purely numerical versions. This setup finally
makes the tests pass again.
  • Loading branch information
gnn committed Dec 11, 2018
1 parent b94e4fc commit 23073fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ sphinx>=1.3
sphinx-rtd-theme
-e .

git+https://git@github.com/oemof/oemof.git@features/move-datapackage-reader-into-standalone-package#egg=oemof
git+https://git@github.com/oemof/oemof.git@features/move-datapackage-reader-into-standalone-package#egg=oemof-0.2.4.dev0

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def read(*names, **kwargs):
],
install_requires=[
'datapackage',
'oemof',
'oemof==0.2.4.dev0',
],
extras_require={
# eg:
Expand All @@ -75,5 +75,5 @@ def read(*names, **kwargs):
dependency_links=[
('git+https://git@github.com/oemof/oemof.git'
'@features/move-datapackage-reader-into-standalone-package'
'#egg=oemof')],
'#egg=oemof-0.2.4.dev0')],
)

0 comments on commit 23073fb

Please sign in to comment.