Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #181:Introduce pretty print and pager output for challenges #197

Merged
merged 33 commits into from
Dec 15, 2019
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5fabd6d
pretty print task
RohanSreelesh Dec 9, 2019
4184fa5
Add files via upload
RohanSreelesh Dec 9, 2019
07a7309
Update requirements.txt
RohanSreelesh Dec 9, 2019
35aaa41
Add files via upload
RohanSreelesh Dec 9, 2019
f164cf6
Add files via upload
RohanSreelesh Dec 9, 2019
01dd808
Delete challenges.py
RohanSreelesh Dec 9, 2019
7a8fba4
Update challenges.py
RohanSreelesh Dec 9, 2019
c93df7f
Update requirements.txt
RohanSreelesh Dec 9, 2019
17f1573
Update setup.py
RohanSreelesh Dec 9, 2019
ace5eda
Update challenges.py
RohanSreelesh Dec 9, 2019
5d7817b
Update challenges.py
RohanSreelesh Dec 9, 2019
876ca16
Update challenges.py
RohanSreelesh Dec 9, 2019
c5c7358
Update challenges.py
RohanSreelesh Dec 9, 2019
8360b33
Update requirements.txt
RohanSreelesh Dec 9, 2019
c91ac2d
Update setup.py
RohanSreelesh Dec 9, 2019
f1a138b
trying to add test
RohanSreelesh Dec 9, 2019
94cd77d
fixed flask8 errors
RohanSreelesh Dec 9, 2019
2792729
flake8 errors
RohanSreelesh Dec 9, 2019
f253581
changed str(table) to table
RohanSreelesh Dec 9, 2019
814ecfe
Update test_challenges.py
RohanSreelesh Dec 9, 2019
f28c567
Update test_challenges.py
RohanSreelesh Dec 9, 2019
53613ef
Update test_auth.py
RohanSreelesh Dec 9, 2019
9a32a59
Update test_auth.py
RohanSreelesh Dec 9, 2019
41d8b11
Update requirements.txt
RohanSreelesh Dec 10, 2019
0ca7510
Add files via upload
RohanSreelesh Dec 10, 2019
67eb9c3
Update requirements.txt
RohanSreelesh Dec 10, 2019
4007d16
Update requirements.txt
RohanSreelesh Dec 10, 2019
e7d5556
Add files via upload
RohanSreelesh Dec 10, 2019
f12a086
Add files via upload
RohanSreelesh Dec 10, 2019
1ca6ff4
Update requirements.txt
RohanSreelesh Dec 10, 2019
c771e65
Add files via upload
RohanSreelesh Dec 10, 2019
e72fd1e
Update setup.py
RohanSreelesh Dec 10, 2019
18caa2f
Update setup.py
RohanSreelesh Dec 10, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 21 additions & 19 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
beautifulsoup4==4.7.1
beautifultable==0.7.0
boto==2.49.0
boto3==1.9.88
botocore==1.12.116
click==6.7
coverage==4.5.1
coveralls==1.3.0
docker==3.6.0
flake8==3.0.4
lxml==4.2.1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RohanSreelesh Why is lxml removed as a dependency in this commit?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My build wasnt installing , then @yashdusing on gitter suggested removing this from requirements and setup.py after which I was able to install it successfully
The error can be found here https://imgur.com/g4wefJP

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some development libraries are missing in the python package related to lxml, thus the package was not installing. You can find more details here.

We cannot remove it from the requirements as it would break some other parts of the code(for example, the build fails as the lmxl based tests are not passing).

The issue exists on windows due to the version of lxml (please refer to the second answer on the link about. maybe you could update the version of lxml in requirements.txt and try reinstalling on windows to resolve the issue.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand , I had done the solutions given in the link including the second answer but the build still didnt work for me unfortunately. I'll add it back

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added lxml back into requirements and setup.py but the build is still failing @pushkalkatara

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build is failing due to some more issues. You can get all the details here.

  1. flake8 error
  2. the test outputs don't match (you need to update the tests also.)

pre-commit==1.14.4
pytest==3.5.1
pytest-cov==2.5.1
python-dateutil==2.7.3
requests==2.20.0
requests-toolbelt==0.8.0
responses==0.9.0
validators==0.12.2
beautifulsoup4==4.7.1
beautifultable==0.7.0
boto==2.49.0
boto3==1.9.88
botocore==1.12.116
click==6.7
coverage==4.5.1
coveralls==1.3.0
docker==3.6.0
flake8==3.0.4

pre-commit==1.14.4
pytest==3.5.1
pytest-cov==2.5.1
python-dateutil==2.7.3
requests==2.20.0
requests-toolbelt==0.8.0
responses==0.9.0
validators==0.12.2
termcolor==1.1.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this extra line.