#1219 Avoid 'Double requirements given' error when using 'pip install -r requirements.txt
Merged 7 years ago by pingou. Opened 7 years ago by vivekanand1101.
vivekanand1101/pagure req  into  master

file modified
+3 -3
@@ -29,14 +29,14 @@ 

  trollius-redis

  wtforms

  

+ # Needed only for local authentication and/or Pagure CI

+ cryptography

  

  # Required only for the `fas` and `openid` authentication backends

  python-fedora

  

  # Required only for the `local` authentication backend

- cryptography

  py-bcrypt

  

- #Required for Pagure CI

- cryptography

+ # Required for Pagure CI

  python-jenkins

no initial comment

why not remove this instead?

i thought: what if someone doesn't want local auth but wants to use pagure CI ? then he will either comment/remove those lines particular to local auth.

Lets see what @pingou has to say :smile:

rebased

7 years ago

rebased

7 years ago

Oups, looks like I replied to the wrong issue there.

Thanks for catching it @vivekanand1101

Maybe just add a comment above it to say that it's needed only for local auth or with pagure-ci?

We can then drop the comment when cryptography actually becomes a dep of the core.

rebased

7 years ago

rebased

7 years ago

rebased

7 years ago

Pull-Request has been merged by pingou

7 years ago
Metadata