File tree Expand file tree Collapse file tree 5 files changed +9
-33
lines changed
Expand file tree Collapse file tree 5 files changed +9
-33
lines changed Original file line number Diff line number Diff line change 5050 run : |
5151 python -m pip install --upgrade pip setuptools wheel coverage
5252 pip install -e .[testing]
53- - name : Set ENV for codeclimate (pull_request)
54- continue-on-error : true
55- run : |
56- git fetch --no-tags --prune --depth=1 origin +refs/heads/$GITHUB_HEAD_REF:refs/remotes/origin/$GITHUB_HEAD_REF
57- echo "GIT_BRANCH=$GITHUB_HEAD_REF" >> $GITHUB_ENV
58- echo "GIT_COMMIT_SHA=$(git rev-parse origin/$GITHUB_HEAD_REF)" >> $GITHUB_ENV
59- if : github.event_name == 'pull_request'
60- - name : Set ENV for codeclimate (push)
61- run : |
62- echo "GIT_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
63- echo "GIT_COMMIT_SHA=$GITHUB_SHA" >> $GITHUB_ENV
64- if : github.event_name == 'push'
65- - name : Install Code Climate test report
66- run : |
67- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
68- chmod +x ./cc-test-reporter
69- ./cc-test-reporter before-build
7053 - name : Run tests
71- run : coverage run -m unittest && coverage xml -i --include='chartmogul/*'
72- - name : Send Report to Code Climate
73- if : ${{ success() }}
74- env :
75- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
76- run : |
77- if [ -z "$CC_TEST_REPORTER_ID" ]; then
78- echo "⚠️ Skipping Code Climate upload — CC_TEST_REPORTER_ID is not set."
79- else
80- ./cc-test-reporter after-build -t coverage.py
81- fi
54+ run : coverage run -m unittest && coverage xml -i --include='chartmogul/*'
Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning].
88[ Keep a Changelog ] : https://keepachangelog.com/en/1.0.0/
99[ Semantic Versioning ] : https://semver.org/spec/v2.0.0.html
1010
11+ ## [ 4.6.3] - 2025-09-01
12+ - Remove future dependency to resolve vulnerability issues
13+
14+ ## [ 4.6.2] - 2025-07-09
15+ - Update Marshmallow dependency to use >=3.24.0
16+
1117## [ 4.6.1] - 2025-05-19
1218- Fixed Tasks API schema issue
1319- Unify requirements in a single place
Original file line number Diff line number Diff line change 1- from future .utils import raise_from
21from requests import HTTPError
32
43
@@ -20,6 +19,6 @@ class DeprecatedArgumentError(Exception):
2019
2120def annotateHTTPError (err ):
2221 if isinstance (err , HTTPError ):
23- raise_from ( APIError (err .response .content ), err )
22+ raise APIError (err .response .content ) from err
2423 else :
2524 raise err
Original file line number Diff line number Diff line change 1- __version__ = "4.6.2 "
1+ __version__ = "4.6.3 "
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- from __future__ import absolute_import
32import os
43import re
54import sys
1817 "uritemplate>=4.1.1" ,
1918 "promise>=2.3.0" ,
2019 "marshmallow>=3.24.0,<5.0.0" ,
21- "future>=0.18.3" ,
2220 "urllib3>=2.2.2" ,
2321]
2422test_requirements = [
You can’t perform that action at this time.
0 commit comments