Skip to content

Commit 38215fc

Browse files
author
Kevin Sheppard
committed
Restore setuptools_scm verion bump
1 parent a8616cc commit 38215fc

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ requires = [
1010
"numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'",
1111
"numpy; python_version>='3.11'",
1212
"scipy>=1.4",
13-
"setuptools_scm[toml]>=6.4.2,<7.0.0"
13+
"setuptools_scm[toml]~=7.0.0"
1414
]
1515
build-backend = "setuptools.build_meta"
1616

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# build
22
cython>=0.29.28,<3.0.0
3-
setuptools_scm[toml]>=6.4.2,<7.0.0
3+
setuptools_scm[toml]~=7.0.0
44
oldest-supported-numpy>=2022.4.18
55

66
# run

statsmodels/__init__.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
from statsmodels._version import __version__, __version_tuple__
2+
3+
__version_info__ = __version_tuple__
14

2-
from statsmodels._version import (
3-
version as __version__, version_tuple as __version_info__
4-
)
55

66
debug_warnings = False
77

@@ -31,8 +31,9 @@ def test(extra_args=None, exit=False):
3131
The status code from the test run if exit is False.
3232
"""
3333
from .tools._testing import PytestTester
34+
3435
tst = PytestTester(package_path=__file__)
3536
return tst(extra_args=extra_args, exit=exit)
3637

3738

38-
__all__ = ['__version__', '__version_info__', 'test']
39+
__all__ = ["__version__", "__version_info__", "__version_tuple__", "test"]

statsmodels/tools/web.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import webbrowser
66
from urllib.parse import urlencode
77

8-
from statsmodels._version import __version__
8+
from statsmodels import __version__
99

1010
BASE_URL = 'https://www.statsmodels.org/'
1111

tools/ci/azure/install-posix.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ else
1515
fi
1616

1717
python -m pip install --upgrade "pip~=22.0.4" setuptools wheel
18-
python -m pip install "cython>=0.29.28,<3.0.0" "pytest~=7.0.1" pytest-xdist coverage pytest-cov ipython jupyter notebook nbconvert "property_cached>=1.6.3" black==20.8b1 isort flake8 nbconvert==5.6.1 coveralls setuptools_scm[toml]
18+
python -m pip install "cython>=0.29.28,<3.0.0" "pytest~=7.0.1" pytest-xdist coverage pytest-cov ipython jupyter notebook nbconvert "property_cached>=1.6.3" black==20.8b1 isort flake8 nbconvert==5.6.1 coveralls setuptools_scm[toml]~=7.0.0
1919

2020
if [[ -n ${NUMPY} ]]; then CMD="$CMD==${NUMPY}"; fi;
2121
CMD="$CMD scipy"

0 commit comments

Comments
 (0)