Skip to content

Commit 88bc11d

Browse files
committed
build: Improve conda recipe
1 parent 5455a7d commit 88bc11d

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

CHANGELOG.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,35 @@ We [keep a changelog.](http://keepachangelog.com/)
44

55
## [Unreleased]
66

7-
## [1.5.0] - 2025-07-XX
7+
## [1.5.0] - 2025-07-11
88

99
### Added
1010

11-
- Add class `TestCsvImpor` with a test suite for testing CSV import functionality to `test.py`.
11+
- Add class `TestCsvImpor` with a test suite for testing CSV import functionality to `test.py`
1212
- Add `types-requests` to `mypy`'s `additional_dependencies` in `pre-commit` hooks
1313
- Add `pydocstyle` pre-commit's hook
14-
- style: Import Callable from collections.abc
1514

1615
### Fixed
1716

18-
- Fix a csvimport error 'List index (0) out of bounds': renamed `json_data` back to `data`. Corrected behavior broken since v1.4.0.
17+
- Fix a csvimport error 'List index (0) out of bounds': renamed `json_data` back to `data`. Corrected behavior broken since v1.4.0
1918

2019
### Changed
2120

2221
- Update pre-commit hooks to the latest versions
2322
- Breaking changes: drop support for Python 3.9
23+
- Import Callable from collections.abc
2424

2525
### Security
2626

27-
- docs: Add the Security Policy file `SECURITY.md`
28-
- ci: Use `permissions: contents: read` in all CI workflow files explicitly
29-
- ci: Use commit hashes to ensure reproducible builds
30-
- build: Update dependency pinning: `requests >=2.32.4`
27+
- Add the Security Policy file `SECURITY.md`
28+
- Use `permissions: contents: read` in all CI workflow files explicitly
29+
- Use commit hashes to ensure reproducible builds
30+
- Update pinning for runtime dependency `requests >=2.32.4`
3131

3232
### Pull Requests Merged
3333

3434
- [PR_120](https://github.com/mailjet/mailjet-apiv3-python/pull/120) - Fix a csvimport error 'List index (0) out of bounds'
35+
- [PR_123](https://github.com/mailjet/mailjet-apiv3-python/pull/123) - Release 1.5.0
3536

3637
## [1.4.0] - 2025-05-07
3738

conda.recipe/meta.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,23 @@ test:
4141
- samples
4242
source_files:
4343
- tests/test_client.py
44+
- test.py
45+
- tests/doc_tests/files/data.csv
4446
requires:
4547
- pip
4648
- pytest
4749
commands:
4850
- pip check
4951
# TODO: Add environment variables for tests
5052
- pytest tests/test_client.py -vv
53+
- pytest test.py -vv
5154

5255
about:
5356
home: {{ project['urls']['Homepage'] }}
5457
dev_url: {{ project['urls']['Repository'] }}
5558
doc_url: {{ project['urls']['Documentation'] }}
5659
summary: {{ project['description'] }}
57-
# TODO: Add the description
58-
# description: |
59-
#
60-
license: {{ project['license']['text'] }}
61-
license_family: {{ project['license']['text'].split('-')[0] }}
60+
description: {{ project['description'] }}
61+
license: {{ project['license'] }}
62+
license_family: {{ project['license'].split('-')[0] }}
6263
license_file: LICENSE

0 commit comments

Comments
 (0)