#226 Fixing requirements file
Merged 7 years ago by skrzepto. Opened 7 years ago by skrzepto.
skrzepto/fedora-hubs fixing-requirements  into  develop

file modified
+12
@@ -92,6 +92,18 @@ 

      $ pip install -r test-requirements.txt

      $ ./runtest.sh

  

+ 

+ 

+ If the unit tests are all failing and returning errors like this::

+ 

+     ImportError: cannot import name dummy

+ 

+ 

+ It most likely is a result of html5lib breaking api stability. Please downgrade to the version below::

+ 

+     pip install html5lib==0.9999999

+ 

+ 

  See the options available with::

  

      $ ./runtest.sh --help

file modified
+2
@@ -1,6 +1,8 @@ 

  arrow

  bleach

+ blinker

  datanommer.models

+ decorator

  dogpile.cache

  fedmsg

  fedmsg_meta_fedora_infrastructure

Purpose

Test suite was failing on a fresh install.

Details

adding missing packages, also html5lib newest version is causing the test suite to crash, rolling back to last known working version

Fixes for me.

  • git clone https://pagure.io/forks/skrzepto/fedora-hubs.git
  • git checkout fixing-requirements
  • mkvirtualenv tmp
  • pip install -r requirements.txt
  • pip install -r test-requirements.txt
  • ./runtest.sh

needed by flask for signalling

this is needed for dummy widget

concern about security for forcing a certain version

Looks like html5lib updates are breaking stability of other projects

https://github.com/html5lib/html5lib-python/pull/278/files

rebased

7 years ago

Pull-Request has been merged by skrzepto

7 years ago
Metadata