Wrong documentation about scrapinghub.yml

Posted about 6 years ago by igi_skalar

Post a topic
Answered
i
igi_skalar

I orientated myself on this article to deploy a project. And it took a lot time for me to find a typo in scrapinghub.yml.

Wrong:

requirements:
  file: requirements.txt


Correct:

requirements_file: requirements.txt

 

0 Votes

v

viktor posted about 6 years ago Admin Best Answer

I see, it explains why you weren't able to use the newer syntax. However, I don't have any obstacles with shub on Conda (installing pip, then installing any shub version via pip), is it something related with other dependencies you're using? Let us know if there's anything we could help with.

0 Votes


4 Comments

Sorted by
i

igi_skalar posted about 6 years ago

Thanx, after installing via pip I can deploy with newer syntax.

0 Votes

v

viktor posted about 6 years ago Admin Answer

I see, it explains why you weren't able to use the newer syntax. However, I don't have any obstacles with shub on Conda (installing pip, then installing any shub version via pip), is it something related with other dependencies you're using? Let us know if there's anything we could help with.

0 Votes

i

igi_skalar posted about 6 years ago

scrapinghub.yml

 

projects:
  default: 364*** ;)
requirements_file: requirements.txt

shub version: 2.1.1 . unfortunately,  i can't upgrade to 2.8.1 with conda.

0 Votes

v

viktor posted about 6 years ago Admin

Both versions should work fine, with a small difference that the one with `requirements_file` is deprecated. 

So it doesn't seem to be a typo.


Could you please share your scrapinghub.yml config and shub tool version (output of `shub version`)?

0 Votes

Login to post a comment