Modernize to pyproject.toml and fix test assertion

- Remove requirements.txt and requirements-dev.txt (duplicates pyproject.toml)
- Update Dockerfile to use 'pip install .' instead of requirements.txt
- Update README.md and GitHub workflows to use 'pip install -e .[dev]'
- Fix test_get_valuation_comparables: check for 'deal_date' instead of non-existent 'asset_room_num'
  (rooms field is optional and excluded when None due to exclude_none=True)
- Fix fastmcp version constraint in pyproject.toml (>=2.13.0,<3.0.0)
- Add vcrpy to dev dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Nitzan P
2025-11-18 23:00:03 +02:00
parent 96ec29dad2
commit 5be68a5b04
9 changed files with 30 additions and 51 deletions
+8 -3
View File
@@ -55,9 +55,14 @@ This project provides a comprehensive Python interface to the Israeli government
source venv/bin/activate
```
4. **Install required packages:**
4. **Install the package:**
```bash
pip install -r requirements.txt
pip install -e .
```
Or for development with all dev dependencies:
```bash
pip install -e .[dev]
```
## Usage
@@ -298,7 +303,7 @@ python -c "import logging; logging.basicConfig(level=logging.DEBUG)" run_mcp_ser
#### Troubleshooting
**Connection Issues:**
- Ensure all dependencies are installed: `pip install -r requirements.txt`
- Ensure all dependencies are installed: `pip install -e .`
- Check that Python path is correct in client configuration
- Verify the server starts without errors