Skip to content

2.0.9 #209

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

Merged
merged 103 commits into from
Jan 12, 2022
Merged

2.0.9 #209

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
57095bf
Bump astroid from 2.5.7 to 2.5.8 (#73)
dependabot[bot] Jun 8, 2021
a53495b
Bump black from 21.5b2 to 21.6b0 (#74)
dependabot[bot] Jun 11, 2021
4127160
Bump tqdm from 4.61.0 to 4.61.1 (#75)
dependabot[bot] Jun 14, 2021
f758899
Bump astroid from 2.5.8 to 2.6.0 (#77)
dependabot[bot] Jun 24, 2021
ee8865a
Bump urllib3 from 1.26.5 to 1.26.6 (#78)
dependabot[bot] Jun 28, 2021
d099734
Bump isort from 5.8.0 to 5.9.1 (#76)
dependabot[bot] Jun 28, 2021
c504a19
Bump importlib-metadata from 4.5.0 to 4.6.0 (#79)
dependabot[bot] Jun 30, 2021
c73f605
Bump astroid from 2.6.0 to 2.6.1 (#81)
dependabot[bot] Jun 30, 2021
6609c16
Bump pylint from 2.8.2 to 2.9.0 (#80)
dependabot[bot] Jun 30, 2021
9209736
Bump astroid from 2.6.1 to 2.6.2 (#82)
dependabot[bot] Jul 2, 2021
83b74c7
Bump zipp from 3.4.1 to 3.5.0 (#86)
dependabot[bot] Jul 6, 2021
2807f11
Bump packaging from 20.9 to 21.0 (#88)
dependabot[bot] Jul 6, 2021
4947a23
Bump regex from 2021.4.4 to 2021.7.5 (#89)
dependabot[bot] Jul 6, 2021
ffaa02e
Bump importlib-metadata from 4.6.0 to 4.6.1 (#87)
dependabot[bot] Jul 8, 2021
9bf7139
Bump regex from 2021.7.5 to 2021.7.6 (#91)
dependabot[bot] Jul 8, 2021
f2592af
Bump isort from 5.9.1 to 5.9.2 (#92)
dependabot[bot] Jul 9, 2021
158c22f
Bump pkginfo from 1.7.0 to 1.7.1 (#93)
dependabot[bot] Jul 9, 2021
0276fe1
Bump tqdm from 4.61.1 to 4.61.2 (#90)
dependabot[bot] Jul 9, 2021
57fbd17
Bump bleach from 3.3.0 to 3.3.1 (#95)
dependabot[bot] Jul 16, 2021
5147a5a
Bump requests from 2.25.1 to 2.26.0 (#94)
dependabot[bot] Jul 16, 2021
bcd27d8
Bump pathspec from 0.8.1 to 0.9.0 (#98)
dependabot[bot] Jul 20, 2021
9ad985c
Bump astroid from 2.6.2 to 2.6.4 (#97)
dependabot[bot] Jul 20, 2021
c6ceb03
Bump black from 21.6b0 to 21.7b0 (#96)
dependabot[bot] Jul 20, 2021
28252bd
Bump twine from 3.4.1 to 3.4.2 (#99)
dependabot[bot] Jul 20, 2021
72d425e
Bump pylint from 2.9.0 to 2.9.4 (#100)
dependabot[bot] Jul 20, 2021
8d7e33f
Updated requirements with new dependencies
VadVergasov Jul 20, 2021
de4c096
Bump astroid from 2.6.4 to 2.6.5 (#102)
dependabot[bot] Jul 22, 2021
c3d75c2
Bump tomli from 1.0.4 to 1.1.0 (#103)
dependabot[bot] Jul 24, 2021
97dbd13
Bump isort from 5.9.2 to 5.9.3 (#105)
dependabot[bot] Jul 30, 2021
e5a4cc6
Bump tqdm from 4.61.2 to 4.62.0 (#106)
dependabot[bot] Jul 30, 2021
fffbd32
Bump charset-normalizer from 2.0.3 to 2.0.4 (#108)
dependabot[bot] Jul 30, 2021
551ce3e
Bump tomli from 1.1.0 to 1.2.0 (#107)
dependabot[bot] Aug 1, 2021
cc5e470
Bump importlib-metadata from 4.6.1 to 4.6.3 (#109)
dependabot[bot] Aug 3, 2021
e42bcb6
Bump bleach from 3.3.1 to 4.0.0 (#112)
dependabot[bot] Aug 4, 2021
908cb7d
Bump astroid from 2.6.5 to 2.6.6 (#111)
dependabot[bot] Aug 5, 2021
9fe0eca
Bump tomli from 1.2.0 to 1.2.1 (#113)
dependabot[bot] Aug 6, 2021
b43eae4
Bump importlib-metadata from 4.6.3 to 4.6.4 (#114)
dependabot[bot] Aug 24, 2021
c156455
Bump pygments from 2.9.0 to 2.10.0 (#115)
dependabot[bot] Aug 24, 2021
c72c668
Bump regex from 2021.7.6 to 2021.8.21 (#119)
dependabot[bot] Aug 24, 2021
d22902c
Bump keyring from 23.0.1 to 23.1.0 (#121)
dependabot[bot] Aug 28, 2021
b58eda6
Bump tqdm from 4.62.0 to 4.62.2 (#120)
dependabot[bot] Aug 28, 2021
fb09bfe
Bump regex from 2021.8.21 to 2021.8.28 (#125)
dependabot[bot] Aug 28, 2021
977e307
Bump importlib-metadata from 4.6.4 to 4.7.1 (#124)
dependabot[bot] Aug 28, 2021
550b3f7
Bump bleach from 4.0.0 to 4.1.0 (#126)
dependabot[bot] Aug 28, 2021
84a5544
Updated pylint and astroid
VadVergasov Aug 28, 2021
416ad6d
Bump importlib-metadata from 4.7.1 to 4.8.1 (#130)
dependabot[bot] Sep 1, 2021
0da846a
Bump astroid from 2.7.2 to 2.7.3 (#131)
dependabot[bot] Sep 7, 2021
e64960a
Bump keyring from 23.1.0 to 23.2.1 (#132)
dependabot[bot] Sep 16, 2021
53eae39
Bump charset-normalizer from 2.0.4 to 2.0.5 (#134)
dependabot[bot] Sep 16, 2021
b65d834
Bump black from 21.7b0 to 21.9b0 (#133)
dependabot[bot] Sep 16, 2021
a566769
Bump typing-extensions from 3.10.0.0 to 3.10.0.2 (#127)
dependabot[bot] Sep 16, 2021
3140c6d
Bump pytest from 6.2.4 to 6.2.5 (#128)
dependabot[bot] Sep 17, 2021
19391da
Bump charset-normalizer from 2.0.5 to 2.0.6 (#137)
dependabot[bot] Sep 25, 2021
f5e2257
Bump urllib3 from 1.26.6 to 1.26.7 (#139)
dependabot[bot] Sep 26, 2021
5c4a529
Bump tqdm from 4.62.2 to 4.62.3 (#138)
dependabot[bot] Sep 26, 2021
c931802
Bump zipp from 3.5.0 to 3.6.0 (#142)
dependabot[bot] Sep 30, 2021
b708ede
Bump regex from 2021.8.28 to 2021.9.30 (#144)
dependabot[bot] Oct 3, 2021
2d5bc7f
Bump readme-renderer from 29.0 to 30.0 (#143)
dependabot[bot] Oct 3, 2021
ae75556
Bump certifi from 2021.5.30 to 2021.10.8 (#147)
dependabot[bot] Oct 16, 2021
b786596
Bump actions/checkout from 2.3.4 to 2.3.5 (#149)
dependabot[bot] Oct 16, 2021
d8ea780
Bump regex from 2021.9.30 to 2021.10.23 (#154)
dependabot[bot] Oct 26, 2021
2004383
Bump tomli from 1.2.1 to 1.2.2 (#155)
dependabot[bot] Oct 26, 2021
5ba835b
Bump pyparsing from 2.4.7 to 3.0.1 (#156)
dependabot[bot] Oct 26, 2021
5c7902f
Added separate tests with auth
VadVergasov Oct 26, 2021
567fcfe
Added handling for not 200 status codes
VadVergasov Oct 26, 2021
7cc881a
Updated astroid and pylint
VadVergasov Oct 26, 2021
2d58d7b
Bump click from 8.0.1 to 8.0.3 (#157)
dependabot[bot] Oct 26, 2021
20c74f9
Bump pyparsing from 3.0.1 to 3.0.3 (#160)
dependabot[bot] Oct 28, 2021
498aaa2
Bump docutils from 0.17.1 to 0.18 (#159)
dependabot[bot] Oct 28, 2021
2c20bad
Bump charset-normalizer from 2.0.6 to 2.0.7 (#158)
dependabot[bot] Oct 30, 2021
ed70b2b
Bump actions/checkout from 2.3.5 to 2.4.0 (#165)
dependabot[bot] Nov 3, 2021
b342e8d
Bump black from 21.9b0 to 21.10b0 (#163)
dependabot[bot] Nov 3, 2021
e73bf42
Bump isort from 5.9.3 to 5.10.0 (#166)
dependabot[bot] Nov 4, 2021
4a657dc
Bump wrapt from 1.12.1 to 1.13.3 (#161)
dependabot[bot] Nov 4, 2021
1ec09c6
Bump pluggy from 0.13.1 to 1.0.0 (#123)
dependabot[bot] Nov 4, 2021
64a0eb1
Bump pyparsing from 3.0.3 to 3.0.4 (#164)
dependabot[bot] Nov 4, 2021
ae5117a
Bump regex from 2021.10.23 to 2021.11.2 (#170)
dependabot[bot] Nov 4, 2021
d9bd5b7
Bump lxml from 4.6.3 to 4.6.4 (#168)
dependabot[bot] Nov 13, 2021
fc7b58d
Bump regex from 2021.11.2 to 2021.11.10 (#174)
dependabot[bot] Nov 13, 2021
35b8ba8
Bump pyparsing from 3.0.4 to 3.0.6 (#173)
dependabot[bot] Nov 13, 2021
b455ff2
Bump py from 1.10.0 to 1.11.0 (#167)
dependabot[bot] Nov 13, 2021
cdb1aca
Bump importlib-metadata from 4.8.1 to 4.8.2 (#176)
dependabot[bot] Nov 14, 2021
be5af24
Bump astroid from 2.8.4 to 2.8.5 (#175)
dependabot[bot] Nov 15, 2021
f9c493a
Bump actions/setup-python from 2.2.2 to 2.3.0 (#180)
dependabot[bot] Nov 18, 2021
cf62715
Bump actions/cache from 2.1.6 to 2.1.7 (#182)
dependabot[bot] Nov 25, 2021
dcf742e
Bump typing-extensions from 3.10.0.2 to 4.0.0 (#178)
dependabot[bot] Nov 25, 2021
4f953bd
Bump twine from 3.4.2 to 3.6.0 (#172)
dependabot[bot] Nov 25, 2021
cf6d962
Bump isort from 5.10.0 to 5.10.1 (#179)
dependabot[bot] Nov 27, 2021
decd179
Bump docutils from 0.18 to 0.18.1 (#183)
dependabot[bot] Nov 28, 2021
47f6bdf
Bump keyring from 23.2.1 to 23.3.0 (#185)
dependabot[bot] Nov 28, 2021
a8e5cde
Bump charset-normalizer from 2.0.7 to 2.0.8 (#187)
dependabot[bot] Nov 29, 2021
425ea5a
Bump actions/setup-python from 2.3.0 to 2.3.1 (#189)
dependabot[bot] Dec 1, 2021
32ed4f6
Bump pkginfo from 1.7.1 to 1.8.2 (#190)
dependabot[bot] Dec 7, 2021
2cf4633
Bump packaging from 21.0 to 21.3 (#181)
dependabot[bot] Dec 9, 2021
d4e2413
Bump twine from 3.6.0 to 3.7.1 (#195)
dependabot[bot] Dec 9, 2021
1daf0fc
Bump typed-ast from 1.4.3 to 1.5.1 (#193)
dependabot[bot] Dec 9, 2021
9914125
Bump charset-normalizer from 2.0.8 to 2.0.9 (#196)
dependabot[bot] Dec 9, 2021
f967fe4
Bump typing-extensions from 4.0.0 to 4.0.1 (#197)
dependabot[bot] Dec 11, 2021
2f9dc9c
Bump black from 21.10b0 to 21.12b0 (#192)
dependabot[bot] Dec 13, 2021
6fa192e
Updated tests
VadVergasov Dec 20, 2021
ce9c428
Merge branch 'develop' of github.com:VadVergasov/CodeforcesApiPy into…
VadVergasov Dec 20, 2021
f3ad0e0
Bump pypa/gh-action-pypi-publish from 1.4.2 to 1.5.0 (#207)
dependabot[bot] Jan 12, 2022
4464ab4
Merge branch 'master' into develop
VadVergasov Jan 12, 2022
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
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
language: ["python"]
steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.4.0
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
name: Check code style
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
- uses: RojerGS/python-black-check@master
with:
line-length: "88"
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v2.3.1
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v2.1.6
uses: actions/cache@v2.1.7
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
Expand All @@ -38,20 +38,20 @@ jobs:
pip install .
- name: Test with pytest
run: |
pytest tests/test_api.py --api_key ${{ secrets.CODEFORCES_API_KEY }} --api_secret ${{ secrets.CODEFORCES_API_SECRET }} -v
pytest tests/ --api_key ${{ secrets.CODEFORCES_API_KEY }} --api_secret ${{ secrets.CODEFORCES_API_SECRET }} -v
publish:
if: startsWith(github.ref, 'refs/tags/')
needs: test
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
- name: Set up Python 3.9
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v2.3.1
with:
python-version: 3.9
- name: Cache pip
uses: actions/cache@v2.1.6
uses: actions/cache@v2.1.7
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
Expand All @@ -65,7 +65,7 @@ jobs:
run: |
python setup.py sdist
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@v1.4.2
uses: pypa/gh-action-pypi-publish@v1.5.0
with:
password: ${{ secrets.pypi_password }}
release:
Expand All @@ -75,7 +75,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.4.0
- name: Create Release
id: create_release
uses: actions/create-release@v1.1.4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
- name: Install Python 3.8
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v2.3.1
with:
python-version: 3.8
- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
!tests/
tests/*
!tests/test_api.py
!tests/test_api_auth.py
!tests/conftest.py

!codeforces_api/
Expand Down
2 changes: 2 additions & 0 deletions codeforces_api/api_request_maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ def renew_rand(self, random_number=1000000):
)

def get_response(self, request):
if request.status_code != 200:
raise Exception("Server returned status code: " + str(request.status_code))
try:
response = request.json()
self.check_return_code(response)
Expand Down
2 changes: 1 addition & 1 deletion codeforces_api/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.8"
__version__ = "2.0.9"
58 changes: 30 additions & 28 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,45 +1,47 @@
appdirs==1.4.4
astroid==2.5.7
astroid==2.8.5
atomicwrites==1.4.0
attrs==21.2.0
black==21.5b2
bleach==3.3.0
certifi==2021.5.30
black==21.12b0
bleach==4.1.0
certifi==2021.10.8
chardet==4.0.0
click==8.0.1
charset-normalizer==2.0.9
click==8.0.3
colorama==0.4.4
docutils==0.17.1
docutils==0.18.1
idna==2.10
importlib-metadata==4.5.0
importlib-metadata==4.8.2
iniconfig==1.1.1
isort==5.8.0
keyring==23.0.1
isort==5.10.1
keyring==23.3.0
lazy-object-proxy==1.6.0
lxml==4.6.5
mccabe==0.6.1
mypy-extensions==0.4.3
packaging==20.9
pathspec==0.8.1
pkginfo==1.7.0
pluggy==0.13.1
py==1.10.0
Pygments==2.9.0
pylint==2.8.2
pyparsing==2.4.7
pytest==6.2.4
packaging==21.3
pathspec==0.9.0
pkginfo==1.8.2
pluggy==1.0.0
py==1.11.0
Pygments==2.10.0
pylint==2.11.1
pyparsing==3.0.6
pytest==6.2.5
pywin32-ctypes==0.2.0
readme-renderer==29.0
regex==2021.4.4
requests==2.25.1
readme-renderer==30.0
regex==2021.11.10
requests==2.26.0
requests-toolbelt==0.9.1
rfc3986==1.5.0
six==1.16.0
toml==0.10.2
tqdm==4.61.0
twine==3.4.1
typed-ast==1.4.3
typing-extensions==3.10.0.0
urllib3==1.26.5
tomli==1.2.2
tqdm==4.62.3
twine==3.7.1
typed-ast==1.5.1
typing-extensions==4.0.1
urllib3==1.26.7
webencodings==0.5.1
wrapt==1.12.1
zipp==3.4.1
wrapt==1.13.3
zipp==3.6.0
Loading