Skip to content

Commit c1601aa

Browse files
committed
Update CHANGELOG for version 2.0.2: add comprehensive database testing, enhance CI/CD workflow, fix CLI import errors, and improve requirements management
1 parent 6ae2f8b commit c1601aa

2 files changed

Lines changed: 39 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,40 @@ All notable changes to this project will be documented in this file.
77

88
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
---
11+
## [2.0.2] - 2024-10-20
12+
13+
### Added
14+
15+
- **Comprehensive Database Testing**:
16+
- Implemented a robust test suite for `labmateai_db.py`, ensuring reliable creation and configuration of the SQLAlchemy engine.
17+
18+
- **Continuous Integration Enhancements**:
19+
- Updated `.travis.yml` to conditionally run Alembic migrations based on the testing environment.
20+
- Integrated coverage reporting and Codecov for improved visibility of test coverage.
21+
22+
- **Updated Dependencies**:
23+
- Added `alembic`, `pytest-cov`, `pytest-xdist`, and other testing tools to `requirements.txt` to support enhanced testing and coverage capabilities.
24+
25+
### Fixed
26+
27+
- **CLI Import Errors**:
28+
- Resolved `ImportError` by replacing relative imports with absolute imports in `cli.py`, ensuring smooth execution of migration commands.
29+
30+
- **Test Failures in Migration Tests**:
31+
- Addressed and fixed issues in `test_cli.py` related to database migrations and user creation tests, ensuring all tests pass successfully.
32+
33+
- **Database Configuration Handling**:
34+
- Enhanced the `get_engine` function in `labmateai_db.py` to better handle testing scenarios and invalid configurations, preventing unexpected crashes.
35+
36+
### Improved
37+
38+
- **Requirements Management**:
39+
- Streamlined `requirements.txt` by removing redundant packages and ensuring all necessary dependencies are included for both development and testing.
40+
41+
- **CI/CD Workflow**:
42+
- Optimized the Travis CI configuration for faster and more reliable builds, leveraging caching and parallel test execution.
43+
1044
---
1145

1246
## [2.0.1] - 2024-10-15
@@ -16,6 +50,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1650
- **Database Connection Issues**:
1751
Fixed issue with users connecting to LabMateAI database.
1852

53+
---
54+
1955
## [2.0.0] - 2024-10-11
2056

2157
### Added

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name='labmateai',
10-
version='2.0.1',
10+
version='2.0.2',
1111
author='Terry Noblin', # Replace with your actual name
1212
author_email='tnoblin@health.ucsd.edu', # Replace with your actual email
1313
description='An AI-powered recommendation system for laboratory tools and software.',
@@ -39,15 +39,14 @@
3939
],
4040
},
4141
classifiers=[
42-
'Programming Language :: Python :: 3.8',
43-
'Programming Language :: Python :: 3.9',
42+
'Programming Language :: Python :: 3.12',
4443
'Operating System :: OS Independent',
4544
'Intended Audience :: Science/Research',
4645
'Topic :: Scientific/Engineering :: Artificial Intelligence',
4746
'License :: OSI Approved :: MIT License',
4847
],
4948
license='MIT',
50-
python_requires='>=3.8',
49+
python_requires='>=3.12',
5150
keywords=[
5251
'AI',
5352
'Recommendation System',

0 commit comments

Comments
 (0)