Skip to content

Commit

Permalink
update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
ywkim312 committed May 15, 2024
1 parent 9d86bee commit 0e08eb1
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ dependencies:
- rtree>=1.1.0
- scipy>=1.11.3
- shapely>=2.0.2
- deprecated>=1.2.14
1 change: 1 addition & 0 deletions pyincore/analyses/socialvulnerability/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from pyincore.analyses.socialvulnerability.socialvulnerability import SocialVulnerability
19 changes: 19 additions & 0 deletions pyincore/analyses/socialvulnerability/socialvulnerability.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This program and the accompanying materials are made available under the
# terms of the Mozilla Public License v2.0 which accompanies this distribution,
# and is available at https://www.mozilla.org/en-US/MPL/2.0/

from deprecated.sphinx import deprecated

from pyincore.analyses.socialvulnerabilityscore import SocialVulnerabilityScore


@deprecated(version='1.19.0', reason="This class will be deprecated soon. Use SocialVulnerabilityScore instead.")
class SocialVulnerability():
def __init__(self, incore_client):
self._delegate = SocialVulnerabilityScore(incore_client)

def __getattr__(self, name):
"""
Delegate attribute access to the HousingValuationRecovery instance.
"""
return getattr(self._delegate, name)
7 changes: 7 additions & 0 deletions pyincore/analyses/socialvulnerabilityscore/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
# Copyright (c) 2019 University of Illinois and others. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Mozilla Public License v2.0 which accompanies this distribution,
# and is available at https://www.mozilla.org/en-US/MPL/2.0/


from pyincore.analyses.socialvulnerabilityscore.socialvulnerabilityscore import SocialVulnerabilityScore
1 change: 1 addition & 0 deletions requirements.imports
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ shapely
pycodestyle
pytest
python-jose
Deprecated
1 change: 1 addition & 0 deletions requirements.min
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ requests>=2.31.0
rtree>=1.1.0
scipy>=1.11.3
shapely>=2.0.2
Deprecated>=1.2.14
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ requests>=2.31.0
rtree>=1.1.0
scipy>=1.11.3
shapely>=2.0.2
Deprecated>=1.2.14
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
'rtree>=1.1.0',
'scipy>=1.11.3',
'shapely>=2.0.2',
'Deprecated>=1.2.14'
],

extras_require={
Expand Down

0 comments on commit 0e08eb1

Please sign in to comment.