Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
Expand All @@ -42,14 +42,14 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel coverage requests-mock httpretty
pip install -r requirements.txt
python -m pip install --upgrade pip setuptools wheel coverage
pip install -e .[testing]
- name: Set ENV for codeclimate (pull_request)
continue-on-error: true
run: |
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning].
[Keep a Changelog]: https://keepachangelog.com/en/1.0.0/
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html

## [4.6.1] - unreleased
- Unify requirements in a single place

## [4.6.0] - 2025-04-25
- Adds support for Tasks (https://dev.chartmogul.com/reference/tasks)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,10 @@ To work on the library:
* Create your feature branch (`git checkout -b my-new-feature`)
* Setup a virtual environment (`python -m venv <directory>`)
* Activate the virtual environment (`source <directory>/bin/activate`)
* Install dependencies: `pip3 install -r requirements.txt && python3 setup.py develop`
* Install dependencies: `pip3 install -e ".[testing]"`
* Fix bugs or add features. Make sure the changes pass the coding guidelines (use `pylama`).
* Write tests for your new features. Use `requests_mock` for HTTP mocking.
* To run test install requirement-test `pip3 install -r requirements-test.txt` and run with `python -m unittest`:
* To run test:
* `pip3 install coverage`
* `coverage run -m unittest`
* `coverage html --include='chartmogul/*'`
Expand Down
2 changes: 1 addition & 1 deletion chartmogul/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.6.0"
__version__ = "4.6.1"
6 changes: 0 additions & 6 deletions requirements-test.txt

This file was deleted.

6 changes: 0 additions & 6 deletions requirements.txt

This file was deleted.

8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"promise>=2.3.0",
"marshmallow>=3.19.0,<3.24.0",
"future>=0.18.3",
"urllib3==2.2.2",
"urllib3>=2.2.2",
]
test_requirements = [
"mock>=5.1.0",
Expand Down Expand Up @@ -61,9 +61,9 @@
install_requires=requires,
license="MIT",
zip_safe=False,
tests_require=test_requirements,
test_suite="test",
extras_require={},
extras_require={
"testing": test_requirements
},
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
Expand Down
Loading