Skip to content

Commit

Permalink
Merge pull request #176 from cs50/develop
Browse files Browse the repository at this point in the history
v3.0.7
  • Loading branch information
Kareem Zidane authored Aug 16, 2019
2 parents 6b4507c + b5896f2 commit a1de91a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions check50/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def await_results(commit_hash, slug, pings=45, sleep=2):

for _i in range(pings):
# Query for check results.
res = requests.get(f"https://submit.cs50.io/api/results/check50?check50", params={"commit_hash": commit_hash, "slug": slug})
res = requests.get(f"https://submit.cs50.io/api/results/check50", params={"commit_hash": commit_hash, "slug": slug})
results = res.json()

if res.status_code not in [404, 200]:
Expand Down Expand Up @@ -302,7 +302,7 @@ def main():
excepthook.output_file = args.output_file

if not args.local:
commit_hash = lib50.push("check50", SLUG, internal.CONFIG_LOADER, commit_suffix="[check50=true]")[1]
commit_hash = lib50.push("check50", SLUG, internal.CONFIG_LOADER, data={"check50": True})[1]
with lib50.ProgressBar("Waiting for results") if "ansi" in args.output else nullcontext():
tag_hash, results = await_results(commit_hash, SLUG)
else:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
message_extractors = {
'check50': [('**.py', 'python', None),],
},
install_requires=["attrs>=18", "bs4>=0", "pexpect>=4.6", "lib50>=1.1.8", "pyyaml>=3.10", "requests>=2.19", "termcolor>=1.1", "jinja2>=2.10"],
install_requires=["attrs>=18", "bs4>=0", "pexpect>=4.6", "lib50>=2,<3", "pyyaml>=3.10", "requests>=2.19", "termcolor>=1.1", "jinja2>=2.10"],
extras_require = {
"develop": ["sphinx", "sphinx_rtd_theme"]
},
Expand All @@ -29,6 +29,6 @@
"console_scripts": ["check50=check50.__main__:main"]
},
url="https://github.com/cs50/check50",
version="3.0.6",
version="3.0.7",
include_package_data=True
)

0 comments on commit a1de91a

Please sign in to comment.