Skip to content

Commit

Permalink
- Python 3.9 support (tested) (could potentially work for lower versi…
Browse files Browse the repository at this point in the history
…ons, but I have not validated such)
  • Loading branch information
ZacharyHampton committed May 15, 2024
1 parent 803fd61 commit 018d3fb
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
```bash
pip install -U homeharvest
```
_Python version >= [3.10](https://www.python.org/downloads/release/python-3100/) required_
_Python version >= [3.9](https://www.python.org/downloads/release/python-3100/) required_

## Usage

Expand Down
1 change: 1 addition & 0 deletions homeharvest/core/scrapers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
from dataclasses import dataclass
import requests
from requests.adapters import HTTPAdapter
Expand Down
1 change: 1 addition & 0 deletions homeharvest/core/scrapers/models.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
from dataclasses import dataclass
from enum import Enum
from typing import Optional
Expand Down
2 changes: 1 addition & 1 deletion homeharvest/core/scrapers/realtor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This module implements the scraper for realtor.com
"""

from __future__ import annotations
from concurrent.futures import ThreadPoolExecutor, as_completed
from datetime import datetime
from typing import Dict, Union, Optional
Expand Down
1 change: 1 addition & 0 deletions homeharvest/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
import pandas as pd
from datetime import datetime
from .core.scrapers.models import Property, ListingType, Agent
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "homeharvest"
version = "0.3.24"
version = "0.3.25"
description = "Real estate scraping library"
authors = ["Zachary Hampton <zachary@bunsly.com>", "Cullen Watson <cullen@bunsly.com>"]
homepage = "https://github.com/Bunsly/HomeHarvest"
Expand All @@ -10,7 +10,7 @@ readme = "README.md"
homeharvest = "homeharvest.cli:main"

[tool.poetry.dependencies]
python = ">=3.10,<3.13"
python = ">=3.9,<3.13"
requests = "^2.31.0"
pandas = "^2.1.1"

Expand Down
2 changes: 1 addition & 1 deletion tests/test_realtor.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def test_realtor_without_extra_details():
),
]

assert results[0] != results[1]
assert not results[0].equals(results[1])


def test_pr_zip_code():
Expand Down

0 comments on commit 018d3fb

Please sign in to comment.