Diff of the two buildlogs: -- --- b1/build.log 2024-11-06 18:23:01.212532704 +0000 +++ b2/build.log 2024-11-06 19:44:55.161511736 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 9 09:53:30 -12 2025 -I: pbuilder-time-stamp: 1765317210 +I: Current time: Thu Nov 7 08:23:05 +14 2024 +I: pbuilder-time-stamp: 1730917385 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -52,52 +52,84 @@ dpkg-source: info: applying 1079789_ignore_arm64_nonconvergence.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2660639/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2131024/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 6 18:23 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2131024/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2131024/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='ac3db108527b4425ba4d67ee879df85c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2660639' - PS1='# ' - PS2='> ' + INVOCATION_ID=2ccf1a3a835c45f9852b8e1a2fdfcc7f + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2131024 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.0FY7SZac/pbuilderrc_Layt --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0FY7SZac/b1 --logfile b1/build.log statsmodels_0.14.4+dfsg-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.0FY7SZac/pbuilderrc_Mn7S --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0FY7SZac/b2 --logfile b2/build.log statsmodels_0.14.4+dfsg-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink01-arm64 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2660639/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2131024/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -605,7 +637,7 @@ Get: 384 http://deb.debian.org/debian unstable/main arm64 r-cran-lmtest arm64 0.9.40-1+b1 [403 kB] Get: 385 http://deb.debian.org/debian unstable/main arm64 r-cran-robustbase arm64 0.99-4-1-1 [3042 kB] Get: 386 http://deb.debian.org/debian unstable/main arm64 r-cran-vcd all 1:1.4-13-1 [1287 kB] -Fetched 272 MB in 2s (116 MB/s) +Fetched 272 MB in 2s (124 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20087 files and directories currently installed.) @@ -1840,8 +1872,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Dec 9 21:55:32 UTC 2025. -Universal Time is now: Tue Dec 9 21:55:32 UTC 2025. +Local time is now: Wed Nov 6 18:25:14 UTC 2024. +Universal Time is now: Wed Nov 6 18:25:14 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up unicode-data (15.1.0-1) ... @@ -2200,7 +2232,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/statsmodels-0.14.4+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../statsmodels_0.14.4+dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/2131024/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2131024/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/statsmodels-0.14.4+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../statsmodels_0.14.4+dfsg-1_source.changes dpkg-buildpackage: info: source package statsmodels dpkg-buildpackage: info: source version 0.14.4+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -4398,12 +4434,12 @@ # Black list notebooks from doc build here ../tools/nbgenerate.py --parallel --report-errors --skip-existing --execute-only --execution-blacklist statespace_custom_models Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/robust_models_0.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/robust_models_0.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/predict.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/predict.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/plots_boxplots.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/plots_boxplots.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/gee_score_test_simulation.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/gee_score_test_simulation.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/exponential_smoothing.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/exponential_smoothing.ipynbExecuting /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/ets.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/ets.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/predict.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/predict.ipynbExecuting /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/plots_boxplots.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/plots_boxplots.ipynbExecuting /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/gee_score_test_simulation.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/gee_score_test_simulation.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/exponential_smoothing.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/exponential_smoothing.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/ets.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/ets.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/copula.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/copula.ipynb + Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/generic_mle.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/generic_mle.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/regression_diagnostics.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/regression_diagnostics.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/mixed_lm_example.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/mixed_lm_example.ipynb @@ -4593,7 +4629,6 @@ At iterate 52 f= 2.24555D+00 |proj g|= 7.86753D-03 At iterate 53 f= 2.24552D+00 |proj g|= 3.86930D-03 -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/variance_components.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/variance_components.ipynb At iterate 54 f= 2.24549D+00 |proj g|= 2.65383D-03 @@ -4614,7 +4649,6 @@ At iterate 62 f= 2.24489D+00 |proj g|= 1.03111D-02 At iterate 63 f= 2.24471D+00 |proj g|= 6.31268D-03 -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/tsa_filters.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/tsa_filters.ipynb At iterate 64 f= 2.24464D+00 |proj g|= 6.14153D-03 @@ -4625,7 +4659,6 @@ At iterate 67 f= 2.24457D+00 |proj g|= 2.61871D-03 At iterate 68 f= 2.24455D+00 |proj g|= 2.22808D-03 -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/tsa_dates.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/tsa_dates.ipynb At iterate 69 f= 2.24455D+00 |proj g|= 7.23288D-04 @@ -4672,18 +4705,18 @@ F = 2.2445124982934956 CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/variance_components.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/variance_components.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/tsa_filters.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/tsa_filters.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/tsa_dates.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/tsa_dates.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/tsa_arma_1.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/tsa_arma_1.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/tsa_arma_0.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/tsa_arma_0.ipynb Finished /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/robust_models_0.ipynb Finished /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/predict.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/treatment_effect.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/treatment_effect.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/theta-model.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/theta-model.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/stl_decomposition.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/stl_decomposition.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/stl_decomposition.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/stl_decomposition.ipynbFinished /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/plots_boxplots.ipynb + Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/stats_rankcompare.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/stats_rankcompare.ipynb -Finished /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/plots_boxplots.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/stats_poisson.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/stats_poisson.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/stationarity_detrending_adf_kpss.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/stationarity_detrending_adf_kpss.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_varmax.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_varmax.ipynb ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/theta-model.ipynb @@ -4742,10 +4775,12 @@ ****************************************************************************** +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/stats_poisson.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/stats_poisson.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/stationarity_detrending_adf_kpss.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/stationarity_detrending_adf_kpss.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_varmax.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_varmax.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_tvpvar_mcmc_cfa.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_tvpvar_mcmc_cfa.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_structural_harvey_jaeger.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_structural_harvey_jaeger.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_seasonal.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_seasonal.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_sarimax_stata.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_sarimax_stata.ipynb RUNNING THE L-BFGS-B CODE * * * @@ -4777,11 +4812,81 @@ F = 2.2498167187365845 CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_sarimax_stata.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_sarimax_stata.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_sarimax_pymc3.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_sarimax_pymc3.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_sarimax_internet.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_sarimax_internet.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_sarimax_faq.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_sarimax_faq.ipynb ****************************************************************************** +ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_structural_harvey_jaeger.ipynb +An error occurred while executing the following cell: +------------------ +# Datasets +from pandas_datareader.data import DataReader + +# Get the raw data +start = '1948-01' +end = '2008-01' +us_gnp = DataReader('GNPC96', 'fred', start=start, end=end) +us_gnp_deflator = DataReader('GNPDEF', 'fred', start=start, end=end) +us_monetary_base = DataReader('AMBSL', 'fred', start=start, end=end).resample('QS').mean() +recessions = DataReader('USRECQ', 'fred', start=start, end=end).resample('QS').last().values[:,0] + +# Construct the dataframe +dta = pd.concat(map(np.log, (us_gnp, us_gnp_deflator, us_monetary_base)), axis=1) +dta.columns = ['US GNP','US Prices','US monetary base'] +dta.index.freq = dta.index.inferred_freq +dates = dta.index._mpl_repr() +------------------ + + +--------------------------------------------------------------------------- +ModuleNotFoundError Traceback (most recent call last) +Cell In[2], line 2 + 1 # Datasets +----> 2 from pandas_datareader.data import DataReader + 4 # Get the raw data + 5 start = '1948-01' + +ModuleNotFoundError: No module named 'pandas_datareader' + +An error occurred while executing the following cell: +------------------ +# Datasets +from pandas_datareader.data import DataReader + +# Get the raw data +start = '1948-01' +end = '2008-01' +us_gnp = DataReader('GNPC96', 'fred', start=start, end=end) +us_gnp_deflator = DataReader('GNPDEF', 'fred', start=start, end=end) +us_monetary_base = DataReader('AMBSL', 'fred', start=start, end=end).resample('QS').mean() +recessions = DataReader('USRECQ', 'fred', start=start, end=end).resample('QS').last().values[:,0] + +# Construct the dataframe +dta = pd.concat(map(np.log, (us_gnp, us_gnp_deflator, us_monetary_base)), axis=1) +dta.columns = ['US GNP','US Prices','US monetary base'] +dta.index.freq = dta.index.inferred_freq +dates = dta.index._mpl_repr() +------------------ + + +--------------------------------------------------------------------------- +ModuleNotFoundError Traceback (most recent call last) +Cell In[2], line 2 + 1 # Datasets +----> 2 from pandas_datareader.data import DataReader + 4 # Get the raw data + 5 start = '1948-01' + +ModuleNotFoundError: No module named 'pandas_datareader' + +****************************************************************************** + + +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_news.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_news.ipynb + +****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_varmax.ipynb An error occurred while executing the following cell: ------------------ @@ -4859,12 +4964,12 @@ 220 ) from e 222 # Audit hooks are only available in Python 3.8+ -NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: ProxyError Traceback (most recent call last) -ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: @@ -4898,7 +5003,7 @@ --> 515 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 517 log.debug("Incremented Retry for (url='%s'): %r", url, new_retry) -MaxRetryError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/lutkepohl2.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +MaxRetryError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/lutkepohl2.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) During handling of the above exception, another exception occurred: @@ -4958,7 +5063,7 @@ 697 # This branch is for urllib3 v1.22 and later. 698 raise SSLError(e, request=request) -ProxyError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/lutkepohl2.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +ProxyError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/lutkepohl2.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) An error occurred while executing the following cell: ------------------ @@ -5036,12 +5141,12 @@ 220 ) from e 222 # Audit hooks are only available in Python 3.8+ -NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: ProxyError Traceback (most recent call last) -ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: @@ -5075,7 +5180,7 @@ --> 515 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 517 log.debug("Incremented Retry for (url='%s'): %r", url, new_retry) -MaxRetryError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/lutkepohl2.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +MaxRetryError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/lutkepohl2.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) During handling of the above exception, another exception occurred: @@ -5129,82 +5234,13 @@ File /usr/lib/python3/dist-packages/requests/adapters.py:694, in HTTPAdapter.send(self, request, stream, timeout, verify, cert, proxies) 691 raise RetryError(e, request=request) - 693 if isinstance(e -****************************************************************************** -ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_structural_harvey_jaeger.ipynb -An error occurred while executing the following cell: ------------------- -# Datasets -from pandas_datareader.data import DataReader - -# Get the raw data -start = '1948-01' -end = '2008-01' -us_gnp = DataReader('GNPC96', 'fred', start=start, end=end) -us_gnp_deflator = DataReader('GNPDEF', 'fred', start=start, end=end) -us_monetary_base = DataReader('AMBSL', 'fred', start=start, end=end).resample('QS').mean() -recessions = DataReader('USRECQ', 'fred', start=start, end=end).resample('QS').last().values[:,0] - -# Construct the dataframe -dta = pd.concat(map(np.log, (us_gnp, us_gnp_deflator, us_monetary_base)), axis=1) -dta.columns = ['US GNP','US Prices','US monetary base'] -dta.index.freq = dta.index.inferred_freq -dates = dta.index._mpl_repr() ------------------- - - ---------------------------------------------------------------------------- -ModuleNotFoundError Traceback (most recent call last) -Cell In[2], line 2 - 1 # Datasets -----> 2 from pandas_datareader.data import DataReader - 4 # Get the raw data - 5 start = '1948-01' - -ModuleNotFoundError: No module named 'pandas_datareader' - -An error occurred while executing the following cell: ------------------- -# Datasets -from pandas_datareader.data import DataReader - -# Get the raw data -start = '1948-01' -end = '2008-01' -us_gnp = DataReader('GNPC96', 'fred', start=start, end=end) -us_gnp_deflator = DataReader('GNPDEF', 'fred', start=start, end=end) -us_monetary_base = DataReader('AMBSL', 'fred', start=start, end=end).resample('QS').mean() -recessions = DataReader('USRECQ', 'fred', start=start, end=end).resample('QS').last().values[:,0] - -# Construct the dataframe -dta = pd.concat(map(np.log, (us_gnp, us_gnp_deflator, us_monetary_base)), axis=1) -dta.columns = ['US GNP','US Prices','US monetary base'] -dta.index.freq = dta.index.inferred_freq -dates = dta.index._mpl_repr() ------------------- - - ---------------------------------------------------------------------------- -ModuleNotFoundError Traceback (most recent call last) -Cell In[2], line 2 - 1 # Datasets -----> 2 from pandas_datareader.data import DataReader - 4 # Get the raw data - 5 start = '1948-01' - -ModuleNotFoundError: No module named 'pandas_datareader' - -****************************************************************************** - - -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_news.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_news.ipynb -.reason, _ProxyError): + 693 if isinstance(e.reason, _ProxyError): --> 694 raise ProxyError(e, request=request) 696 if isinstance(e.reason, _SSLError): 697 # This branch is for urllib3 v1.22 and later. 698 raise SSLError(e, request=request) -ProxyError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/lutkepohl2.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +ProxyError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/lutkepohl2.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) ****************************************************************************** @@ -5348,12 +5384,12 @@ 220 ) from e 222 # Audit hooks are only available in Python 3.8+ -NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: ProxyError Traceback (most recent call last) -ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: @@ -5387,7 +5423,7 @@ --> 515 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 517 log.debug("Incremented Retry for (url='%s'): %r", url, new_retry) -MaxRetryError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/wpi1.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +MaxRetryError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/wpi1.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) During handling of the above exception, another exception occurred: @@ -5439,7 +5475,7 @@ 697 # This branch is for urllib3 v1.22 and later. 698 raise SSLError(e, request=request) -ProxyError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/wpi1.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +ProxyError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/wpi1.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) An error occurred while executing the following cell: ------------------ @@ -5511,12 +5547,12 @@ 220 ) from e 222 # Audit hooks are only available in Python 3.8+ -NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: ProxyError Traceback (most recent call last) -ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: @@ -5550,7 +5586,7 @@ --> 515 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 517 log.debug("Incremented Retry for (url='%s'): %r", url, new_retry) -MaxRetryError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/wpi1.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +MaxRetryError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/wpi1.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) During handling of the above exception, another exception occurred: @@ -5602,7 +5638,7 @@ 697 # This branch is for urllib3 v1.22 and later. 698 raise SSLError(e, request=request) -ProxyError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/wpi1.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +ProxyError: HTTPSConnectionPool(host='www.stata-press.com', port=443): Max retries exceeded with url: /data/r12/wpi1.dta (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) ****************************************************************************** @@ -5700,39 +5736,6 @@ * * * Machine precision = 2.220D-16 - N = 4 M = 10 - This problem is unconstrained. - -At X0 0 variables are exactly at the bounds - -At iterate 0 f= 1.42683D+00 |proj g|= 2.05943D-01 - -At iterate 5 f= 1.41332D+00 |proj g|= 1.60874D-03 - -At iterate 10 f= 1.41329D+00 |proj g|= 3.11657D-05 - - * * * - -Tit = total number of iterations -Tnf = total number of function evaluations -Tnint = total number of segments explored during Cauchy searches -Skip = number of BFGS updates skipped -Nact = number of active bounds at final generalized Cauchy point -Projg = norm of the final projected gradient -F = final function value - - * * * - - N Tit Tnf Tnint Skip Nact Projg F - 4 11 15 1 0 0 1.796D-06 1.413D+00 - F = 1.4132928400116038 - -CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL -RUNNING THE L-BFGS-B CODE - - * * * - -Machine precision = 2.220D-16 N = 3 M = 10 This problem is unconstrained. @@ -5759,413 +5762,19 @@ F = 2.3286389358138648 CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL +RUNNING THE L-BFGS-B CODE -****************************************************************************** -ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_sarimax_internet.ipynb -An error occurred while executing the following cell: ------------------- -import requests -from io import BytesIO -from zipfile import ZipFile - -# Download the dataset -df = pd.read_table( - "https://raw.githubusercontent.com/jrnold/ssmodels-in-stan/master/StanStateSpace/data-raw/DK-data/internet.dat", - skiprows=1, header=None, sep='\s+', engine='python', - names=['internet','dinternet'] -) ------------------- - ------ stderr ----- -<>:8: SyntaxWarning: invalid escape sequence '\s' -<>:8: SyntaxWarning: invalid escape sequence '\s' -/tmp/ipykernel_2892583/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' - skiprows=1, header=None, sep='\s+', engine='python', ------ stderr ----- -/tmp/ipykernel_2892583/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' - skiprows=1, header=None, sep='\s+', engine='python', ------------------- - ---------------------------------------------------------------------------- -ConnectionRefusedError Traceback (most recent call last) -File /usr/lib/python3.12/urllib/request.py:1344, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args) - 1343 try: --> 1344 h.request(req.get_method(), req.selector, req.data, headers, - 1345 encode_chunked=req.has_header('Transfer-encoding')) - 1346 except OSError as err: # timeout error - -File /usr/lib/python3.12/http/client.py:1336, in HTTPConnection.request(self, method, url, body, headers, encode_chunked) - 1335 """Send a complete request to the server.""" --> 1336 self._send_request(method, url, body, headers, encode_chunked) - -File /usr/lib/python3.12/http/client.py:1382, in HTTPConnection._send_request(self, method, url, body, headers, encode_chunked) - 1381 body = _encode(body, 'body') --> 1382 self.endheaders(body, encode_chunked=encode_chunked) - -File /usr/lib/python3.12/http/client.py:1331, in HTTPConnection.endheaders(self, message_body, encode_chunked) - 1330 raise CannotSendHeader() --> 1331 self._send_output(message_body, encode_chunked=encode_chunked) - -File /usr/lib/python3.12/http/client.py:1091, in HTTPConnection._send_output(self, message_body, encode_chunked) - 1090 del self._buffer[:] --> 1091 self.send(msg) - 1093 if message_body is not None: - 1094 - 1095 # create a consistent interface to message_body - -File /usr/lib/python3.12/http/client.py:1035, in HTTPConnection.send(self, data) - 1034 if self.auto_open: --> 1035 self.connect() - 1036 else: - -File /usr/lib/python3.12/http/client.py:1470, in HTTPSConnection.connect(self) - 1468 "Connect to a host on a given (SSL) port." --> 1470 super().connect() - 1472 if self._tunnel_host: - -File /usr/lib/python3.12/http/client.py:1001, in HTTPConnection.connect(self) - 1000 sys.audit("http.client.connect", self, self.host, self.port) --> 1001 self.sock = self._create_connection( - 1002 (self.host,self.port), self.timeout, self.source_address) - 1003 # Might fail in OSs that don't implement TCP_NODELAY - -File /usr/lib/python3.12/socket.py:865, in create_connection(address, timeout, source_address, all_errors) - 864 if not all_errors: ---> 865 raise exceptions[0] - 866 raise ExceptionGroup("create_connection failed", exceptions) - -File /usr/lib/python3.12/socket.py:850, in create_connection(address, timeout, source_address, all_errors) - 849 sock.bind(source_address) ---> 850 sock.connect(sa) - 851 # Break explicitly a reference cycle - -ConnectionRefusedError: [Errno 111] Connection refused - -During handling of the above exception, another exception occurred: - -URLError Traceback (most recent call last) -Cell In[3], line 6 - 3 from zipfile import ZipFile - 5 # Download the dataset -----> 6 df = pd.read_table( - 7 "https://raw.githubusercontent.com/jrnold/ssmodels-in-stan/master/StanStateSpace/data-raw/DK-data/internet.dat", - 8 skiprows=1, header=None, sep='\s+', engine='python', - 9 names=['internet','dinternet'] - 10 ) - -File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1405, in read_table(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, date_format, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, encoding_errors, dialect, on_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options, dtype_backend) - 1392 kwds_defaults = _refine_defaults_read( - 1393 dialect, - 1394 delimiter, - (...) - 1401 dtype_backend=dtype_backend, - 1402 ) - 1403 kwds.update(kwds_defaults) --> 1405 return _read(filepath_or_buffer, kwds) - -File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:620, in _read(filepath_or_buffer, kwds) - 617 _validate_names(kwds.get("names", None)) - 619 # Create the parser. ---> 620 parser = TextFileReader(filepath_or_buffer, **kwds) - 622 if chunksize or iterator: - 623 return parser - -File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1620, in TextFileReader.__init__(self, f, engine, **kwds) - 1617 self.options["has_index_names"] = kwds["has_index_names"] - 1619 self.handles: IOHandles | None = None --> 1620 self._engine = self._make_engine(f, self.engine) - -File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1880, in TextFileReader._make_engine(self, f, engine) - 1878 if "b" not in mode: - 1879 mode += "b" --> 1880 self.handles = get_handle( - 1881 f, - 1882 mode, - 1883 encoding=self.options.get("encoding", None), - 1884 compression=self.options.get("compression", None), - 1885 memory_map=self.options.get("memory_map", False), - 1886 is_text=is_text, - 1887 errors=self.options.get("encoding_errors", "strict"), - 1888 storage_options=self.options.get("storage_options", None), - 1889 ) - 1890 assert self.handles is not None - 1891 f = self.handles.handle - -File /usr/lib/python3/dist-packages/pandas/io/common.py:728, in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options) - 725 codecs.lookup_error(errors) - 727 # open URLs ---> 728 ioargs = _get_filepath_or_buffer( - 729 path_or_buf, - 730 encoding=encoding, - 731 compression=compression, - 732 mode=mode, - 733 storage_options=storage_options, - 734 ) - 736 handle = ioargs.filepath_or_buffer - 737 handles: list[BaseBuffer] - -File /usr/lib/python3/dist-packages/pandas/io/common.py:384, in _get_filepath_or_buffer(filepath_or_buffer, encoding, compression, mode, storage_options) - 382 # assuming storage_options is to be interpreted as headers - 383 req_info = urllib.request.Request(filepath_or_buffer, headers=storage_options) ---> 384 with urlopen(req_info) as req: - 385 content_encoding = req.headers.get("Content-Encoding", None) - 386 if content_encoding == "gzip": - 387 # Override compression based on Content-Encoding header - -File /usr/lib/python3/dist-packages/pandas/io/common.py:289, in urlopen(*args, **kwargs) - 283 """ - 284 Lazy-import wrapper for stdlib urlopen, as that imports a big chunk of - 285 the stdlib. - 286 """ - 287 import urllib.request ---> 289 return urllib.request.urlopen(*args, **kwargs) - -File /usr/lib/python3.12/urllib/request.py:215, in urlopen(url, data, timeout, cafile, capath, cadefault, context) - 213 else: - 214 opener = _opener ---> 215 return opener.open(url, data, timeout) - -File /usr/lib/python3.12/urllib/request.py:515, in OpenerDirector.open(self, fullurl, data, timeout) - 512 req = meth(req) - 514 sys.audit('urllib.Request', req.full_url, req.data, req.headers, req.get_method()) ---> 515 response = self._open(req, data) - 517 # post-process response - 518 meth_name = protocol+"_response" - -File /usr/lib/python3.12/urllib/request.py:532, in OpenerDirector._open(self, req, data) - 529 return result - 531 protocol = req.type ---> 532 result = self._call_chain(self.handle_open, protocol, protocol + - 533 '_open', req) - 534 if result: - 535 return result - -File /usr/lib/python3.12/urllib/request.py:492, in OpenerDirector._call_chain(self, chain, kind, meth_name, *args) - 490 for handler in handlers: - 491 func = getattr(handler, meth_name) ---> 492 result = func(*args) - 493 if result is not None: - 494 return result - -File /usr/lib/python3.12/urllib/request.py:1392, in HTTPSHandler.https_open(self, req) - 1391 def https_open(self, req): --> 1392 return self.do_open(http.client.HTTPSConnection, req, - 1393 context=self._context) - -File /usr/lib/python3.12/urllib/request.py:1347, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args) - 1344 h.request(req.get_method(), req.selector, req.data, headers, - 1345 encode_chunked=req.has_header('Transfer-encoding')) - 1346 except OSError as err: # timeout error --> 1347 raise URLError(err) - 1348 r = h.getresponse() - 1349 except: - -URLError: - -An error occurred while executing the following cell: ------------------- -import requests -from io import BytesIO -from zipfile import ZipFile - -# Download the dataset -df = pd.read_table( - "https://raw.githubusercontent.com/jrnold/ssmodels-in-stan/master/StanStateSpace/data-raw/DK-data/internet.dat", - skiprows=1, header=None, sep='\s+', engine='python', - names=['internet','dinternet'] -) ------------------- - ------ stderr ----- -<>:8: SyntaxWarning: invalid escape sequence '\s' -<>:8: SyntaxWarning: invalid escape sequence '\s' -/tmp/ipykernel_2892583/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' - skiprows=1, header=None, sep='\s+', engine='python', ------ stderr ----- -/tmp/ipykernel_2892583/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' - skiprows=1, header=None, sep='\s+', engine='python', ------------------- - ---------------------------------------------------------------------------- -ConnectionRefusedError Traceback (most recent call last) -File /usr/lib/python3.12/urllib/request.py:1344, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args) - 1343 try: --> 1344 h.request(req.get_method(), req.selector, req.data, headers, - 1345 encode_chunked=req.has_header('Transfer-encoding')) - 1346 except OSError as err: # timeout error - -File /usr/lib/python3.12/http/client.py:1336, in HTTPConnection.request(self, method, url, body, headers, encode_chunked) - 1335 """Send a complete request to the server.""" --> 1336 self._send_request(method, url, body, headers, encode_chunked) - -File /usr/lib/python3.12/http/client.py:1382, in HTTPConnection._send_request(self, method, url, body, headers, encode_chunked) - 1381 body = _encode(body, 'body') --> 1382 self.endheaders(body, encode_chunked=encode_chunked) - -File /usr/lib/python3.12/http/client.py:1331, in HTTPConnection.endheaders(self, message_body, encode_chunked) - 1330 raise CannotSendHeader() --> 1331 self._send_output(message_body, encode_chunked=encode_chunked) - -File /usr/lib/python3.12/http/client.py:1091, in HTTPConnection._send_output(self, message_body, encode_chunked) - 1090 del self._buffer[:] --> 1091 self.send(msg) - 1093 if message_body is not None: - 1094 - 1095 # create a consistent interface to message_body - -File /usr/lib/python3.12/http/client.py:1035, in HTTPConnection.send(self, data) - 1034 if self.auto_open: --> 1035 self.connect() - 1036 else: - -File /usr/lib/python3.12/http/client.py:1470, in HTTPSConnection.connect(self) - 1468 "Connect to a host on a given (SSL) port." --> 1470 super().connect() - 1472 if self._tunnel_host: - -File /usr/lib/python3.12/http/client.py:1001, in HTTPConnection.connect(self) - 1000 sys.audit("http.client.connect", self, self.host, self.port) --> 1001 self.sock = self._create_connection( - 1002 (self.host,self.port), self.timeout, self.source_address) - 1003 # Might fail in OSs that don't implement TCP_NODELAY - -File /usr/lib/python3.12/socket.py:865, in create_connection(address, timeout, source_address, all_errors) - 864 if not all_errors: ---> 865 raise exceptions[0] - 866 raise ExceptionGroup("create_connection failed", exceptions) - -File /usr/lib/python3.12/socket.py:850, in create_connection(address, timeout, source_address, all_errors) - 849 sock.bind(source_address) ---> 850 sock.connect(sa) - 851 # Break explicitly a reference cycle - -ConnectionRefusedError: [Errno 111] Connection refused - -During handling of the above exception, another exception occurred: - -URLError Traceback (most recent call last) -Cell In[3], line 6 - 3 from zipfile import ZipFile - 5 # Download the dataset -----> 6 df = pd.read_table( - 7 "https://raw.githubusercontent.com/jrnold/ssmodels-in-stan/master/StanStateSpace/data-raw/DK-data/internet.dat", - 8 skiprows=1, header=None, sep='\s+', engine='python', - 9 names=['internet','dinternet'] - 10 ) - -File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1405, in read_table(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, date_format, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, encoding_errors, dialect, on_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options, dtype_backend) - 1392 kwds_defaults = _refine_defaults_read( - 1393 dialect, - 1394 delimiter, - (...) - 1401 dtype_backend=dtype_backend, - 1402 ) - 1403 kwds.update(kwds_defaults) --> 1405 return _read(filepath_or_buffer, kwds) - -File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:620, in _read(filepath_or_buffer, kwds) - 617 _validate_names(kwds.get("names", None)) - 619 # Create the parser. ---> 620 parser = TextFileReader(filepath_or_buffer, **kwds) - 622 if chunksize or iterator: - 623 return parser - -File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1620, in TextFileReader.__init__(self, f, engine, **kwds) - 1617 self.options["has_index_names"] = kwds["has_index_names"] - 1619 self.handles: IOHandles | None = None --> 1620 self._engine = self._make_engine(f, self.engine) - -File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1880, in TextFileReader._make_engine(self, f, engine) - 1878 if "b" not in mode: - 1879 mode += "b" --> 1880 self.handles = get_handle( - 1881 f, - 1882 mode, - 1883 encoding=self.options.get("encoding", None), - 1884 compression=self.options.get("compression", None), - 1885 memory_map=self.options.get("memory_map", False), - 1886 is_text=is_text, - 1887 errors=self.options.get("encoding_errors", "strict"), - 1888 storage_options=self.options.get("storage_options", None), - 1889 ) - 1890 assert self.handles is not None - 1891 f = self.handles.handle - -File /usr/lib/python3/dist-packages/pandas/io/common.py:728, in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options) - 725 codecs.lookup_error(errors) - 727 # open URLs ---> 728 ioargs = _get_filepath_or_buffer( - 729 path_or_buf, - 730 encoding=encoding, - 731 compression=compression, - 732 mode=mode, - 733 storage_options=storage_options, - 734 ) - 736 handle = ioargs.filepath_or_buffer - 737 handles: list[BaseBuffer] - -File /usr/lib/python3/dist-packages/pandas/io/common.py:384, in _get_filepath_or_buffer(filepath_or_buffer, encoding, compression, mode, storage_options) - 382 # assuming storage_options is to be interpreted as headers - 383 req_info = urllib.request.Request(filepath_or_buffer, headers=storage_options) ---> 384 with urlopen(req_info) as req: - 385 content_encoding = req.headers.get("Content-Encoding", None) - 386 if content_encoding == "gzip": - 387 # Override compression based on Content-Encoding header - -File /usr/lib/python3/dist-packages/pandas/io/common.py:289, in urlopen(*args, **kwargs) - 283 """ - 284 Lazy-import wrapper for stdlib urlopen, as that imports a big chunk of - 285 the stdlib. - 286 """ - 287 import urllib.request ---> 289 return urllib.request.urlopen(*args, **kwargs) - -File /usr/lib/python3.12/urllib/request.py:215, in urlopen(url, data, timeout, cafile, capath, cadefault, context) - 213 else: - 214 opener = _opener ---> 215 return opener.open(url, data, timeout) - -File /usr/lib/python3.12/urllib/request.py:515, in OpenerDirector.open(self, fullurl, data, timeout) - 512 req = meth(req) - 514 sys.audit('urllib.Request', req.full_url, req.data, req.headers, req.get_method()) ---> 515 response = self._open(req, data) - 517 # post-process response - 518 meth_name = protocol+"_response" - -File /usr/lib/python3.12/urllib/request.py:532, in OpenerDirector._open(self, req, data) - 529 return result - 531 protocol = req.type ---> 532 result = self._call_chain(self.handle_open, protocol, protocol + - 533 '_open', req) - 534 if result: - 535 return result - -File /usr/lib/python3.12/urllib/request.py:492, in OpenerDirector._call_chain(self, chain, kind, meth_name, *args) - 490 for handler in handlers: - 491 func = getattr(handler, meth_name) ---> 492 result = func(*args) - 493 if result is not None: - 494 return result - -File /usr/lib/python3.12/urllib/request.py:1392, in HTTPSHandler.https_open(self, req) - 1391 def https_open(self, req): --> 1392 return self.do_open(http.client.HTTPSConnection, req, - 1393 context=self._context) - -File /usr/lib/python3.12/urllib/request.py:1347, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args) - 1344 h.request(req.get_method(), req.selector, req.data, headers, - 1345 encode_chunked=req.has_header('Transfer-encoding')) - 1346 except OSError as err: # timeout error --> 1347 raise URLError(err) - 1348 r = h.getresponse() - 1349 except: + * * * -URLError: +Machine precision = 2.220D-16 + N = 4 M = 10 + This problem is unconstrained. -****************************************************************************** +At X0 0 variables are exactly at the bounds +At iterate 0 f= 1.42683D+00 |proj g|= 2.05943D-01 -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_dfm_coincident.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_dfm_coincident.ipynb +At iterate 5 f= 1.41332D+00 |proj g|= 1.60874D-03 RUNNING THE L-BFGS-B CODE * * * @@ -6228,6 +5837,8 @@ F = 2.2283821699856383 CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL + +At iterate 10 f= 1.41329D+00 |proj g|= 3.11657D-05 RUNNING THE L-BFGS-B CODE * * * @@ -6238,7 +5849,9 @@ At X0 0 variables are exactly at the bounds -At iterate 0 f= 2.58518D+00 |proj g|= 5.99456D-05 +At iterate 0 f= 2.23132D+00 |proj g|= 1.09171D-02 + +At iterate 5 f= 2.23109D+00 |proj g|= 3.93605D-05 * * * @@ -6253,10 +5866,28 @@ * * * N Tit Tnf Tnint Skip Nact Projg F - 3 3 5 1 0 0 3.347D-05 2.585D+00 - F = 2.5851830060985672 + 3 6 8 1 0 0 7.065D-07 2.231D+00 + F = 2.2310884444664767 -CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH +CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL + + * * * + +Tit = total number of iterations +Tnf = total number of function evaluations +Tnint = total number of segments explored during Cauchy searches +Skip = number of BFGS updates skipped +Nact = number of active bounds at final generalized Cauchy point +Projg = norm of the final projected gradient +F = final function value + + * * * + + N Tit Tnf Tnint Skip Nact Projg F + 4 11 15 1 0 0 1.796D-06 1.413D+00 + F = 1.4132928400116038 + +CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL RUNNING THE L-BFGS-B CODE * * * @@ -6298,9 +5929,7 @@ At X0 0 variables are exactly at the bounds -At iterate 0 f= 2.23132D+00 |proj g|= 1.09171D-02 - -At iterate 5 f= 2.23109D+00 |proj g|= 3.93605D-05 +At iterate 0 f= 2.58518D+00 |proj g|= 5.99456D-05 * * * @@ -6315,10 +5944,10 @@ * * * N Tit Tnf Tnint Skip Nact Projg F - 3 6 8 1 0 0 7.065D-07 2.231D+00 - F = 2.2310884444664767 + 3 3 5 1 0 0 3.347D-05 2.585D+00 + F = 2.5851830060985672 -CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL +CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_local_linear_trend.ipynb @@ -6341,10 +5970,10 @@ ----- stderr ----- <>:10: SyntaxWarning: invalid escape sequence '\s' <>:10: SyntaxWarning: invalid escape sequence '\s' -/tmp/ipykernel_2892719/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_2827585/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ----- stderr ----- -/tmp/ipykernel_2892719/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_2827585/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ------------------ @@ -6444,12 +6073,12 @@ 220 ) from e 222 # Audit hooks are only available in Python 3.8+ -NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: ProxyError Traceback (most recent call last) -ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: @@ -6483,7 +6112,7 @@ --> 515 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 517 log.debug("Incremented Retry for (url='%s'): %r", url, new_retry) -MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) During handling of the above exception, another exception occurred: @@ -6540,7 +6169,7 @@ 697 # This branch is for urllib3 v1.22 and later. 698 raise SSLError(e, request=request) -ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) An error occurred while executing the following cell: ------------------ @@ -6561,10 +6190,10 @@ ----- stderr ----- <>:10: SyntaxWarning: invalid escape sequence '\s' <>:10: SyntaxWarning: invalid escape sequence '\s' -/tmp/ipykernel_2892719/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_2827585/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ----- stderr ----- -/tmp/ipykernel_2892719/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_2827585/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ------------------ @@ -6664,12 +6293,12 @@ 220 ) from e 222 # Audit hooks are only available in Python 3.8+ -NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: ProxyError Traceback (most recent call last) -ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: @@ -6703,7 +6332,7 @@ --> 515 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 517 log.debug("Incremented Retry for (url='%s'): %r", url, new_retry) -MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) During handling of the above exception, another exception occurred: @@ -6760,12 +6389,12 @@ 697 # This branch is for urllib3 v1.22 and later. 698 raise SSLError(e, request=request) -ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://staff.feweb.vu.nl/koopman/projects/ckbook/OxCodeAll.zip (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) ****************************************************************************** -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_cycles.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_cycles.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_dfm_coincident.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_dfm_coincident.ipynb ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_news.ipynb @@ -6814,7 +6443,7 @@ ****************************************************************************** -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_concentrated_scale.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_concentrated_scale.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_cycles.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_cycles.ipynb RUNNING THE L-BFGS-B CODE * * * @@ -6898,10 +6527,459 @@ ****************************************************************************** +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_concentrated_scale.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_concentrated_scale.ipynb + +****************************************************************************** +ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_sarimax_internet.ipynb +An error occurred while executing the following cell: +------------------ +import requests +from io import BytesIO +from zipfile import ZipFile + +# Download the dataset +df = pd.read_table( + "https://raw.githubusercontent.com/jrnold/ssmodels-in-stan/master/StanStateSpace/data-raw/DK-data/internet.dat", + skiprows=1, header=None, sep='\s+', engine='python', + names=['internet','dinternet'] +) +------------------ + +----- stderr ----- +<>:8: SyntaxWarning: invalid escape sequence '\s' +<>:8: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_2826649/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' + skiprows=1, header=None, sep='\s+', engine='python', +----- stderr ----- +/tmp/ipykernel_2826649/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' + skiprows=1, header=None, sep='\s+', engine='python', +------------------ + +--------------------------------------------------------------------------- +ConnectionRefusedError Traceback (most recent call last) +File /usr/lib/python3.12/urllib/request.py:1344, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args) + 1343 try: +-> 1344 h.request(req.get_method(), req.selector, req.data, headers, + 1345 encode_chunked=req.has_header('Transfer-encoding')) + 1346 except OSError as err: # timeout error + +File /usr/lib/python3.12/http/client.py:1336, in HTTPConnection.request(self, method, url, body, headers, encode_chunked) + 1335 """Send a complete request to the server.""" +-> 1336 self._send_request(method, url, body, headers, encode_chunked) + +File /usr/lib/python3.12/http/client.py:1382, in HTTPConnection._send_request(self, method, url, body, headers, encode_chunked) + 1381 body = _encode(body, 'body') +-> 1382 self.endheaders(body, encode_chunked=encode_chunked) + +File /usr/lib/python3.12/http/client.py:1331, in HTTPConnection.endheaders(self, message_body, encode_chunked) + 1330 raise CannotSendHeader() +-> 1331 self._send_output(message_body, encode_chunked=encode_chunked) + +File /usr/lib/python3.12/http/client.py:1091, in HTTPConnection._send_output(self, message_body, encode_chunked) + 1090 del self._buffer[:] +-> 1091 self.send(msg) + 1093 if message_body is not None: + 1094 + 1095 # create a consistent interface to message_body + +File /usr/lib/python3.12/http/client.py:1035, in HTTPConnection.send(self, data) + 1034 if self.auto_open: +-> 1035 self.connect() + 1036 else: + +File /usr/lib/python3.12/http/client.py:1470, in HTTPSConnection.connect(self) + 1468 "Connect to a host on a given (SSL) port." +-> 1470 super().connect() + 1472 if self._tunnel_host: + +File /usr/lib/python3.12/http/client.py:1001, in HTTPConnection.connect(self) + 1000 sys.audit("http.client.connect", self, self.host, self.port) +-> 1001 self.sock = self._create_connection( + 1002 (self.host,self.port), self.timeout, self.source_address) + 1003 # Might fail in OSs that don't implement TCP_NODELAY + +File /usr/lib/python3.12/socket.py:865, in create_connection(address, timeout, source_address, all_errors) + 864 if not all_errors: +--> 865 raise exceptions[0] + 866 raise ExceptionGroup("create_connection failed", exceptions) + +File /usr/lib/python3.12/socket.py:850, in create_connection(address, timeout, source_address, all_errors) + 849 sock.bind(source_address) +--> 850 sock.connect(sa) + 851 # Break explicitly a reference cycle + +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +URLError Traceback (most recent call last) +Cell In[3], line 6 + 3 from zipfile import ZipFile + 5 # Download the dataset +----> 6 df = pd.read_table( + 7 "https://raw.githubusercontent.com/jrnold/ssmodels-in-stan/master/StanStateSpace/data-raw/DK-data/internet.dat", + 8 skiprows=1, header=None, sep='\s+', engine='python', + 9 names=['internet','dinternet'] + 10 ) + +File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1405, in read_table(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, date_format, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, encoding_errors, dialect, on_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options, dtype_backend) + 1392 kwds_defaults = _refine_defaults_read( + 1393 dialect, + 1394 delimiter, + (...) + 1401 dtype_backend=dtype_backend, + 1402 ) + 1403 kwds.update(kwds_defaults) +-> 1405 return _read(filepath_or_buffer, kwds) + +File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:620, in _read(filepath_or_buffer, kwds) + 617 _validate_names(kwds.get("names", None)) + 619 # Create the parser. +--> 620 parser = TextFileReader(filepath_or_buffer, **kwds) + 622 if chunksize or iterator: + 623 return parser + +File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1620, in TextFileReader.__init__(self, f, engine, **kwds) + 1617 self.options["has_index_names"] = kwds["has_index_names"] + 1619 self.handles: IOHandles | None = None +-> 1620 self._engine = self._make_engine(f, self.engine) + +File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1880, in TextFileReader._make_engine(self, f, engine) + 1878 if "b" not in mode: + 1879 mode += "b" +-> 1880 self.handles = get_handle( + 1881 f, + 1882 mode, + 1883 encoding=self.options.get("encoding", None), + 1884 compression=self.options.get("compression", None), + 1885 memory_map=self.options.get("memory_map", False), + 1886 is_text=is_text, + 1887 errors=self.options.get("encoding_errors", "strict"), + 1888 storage_options=self.options.get("storage_options", None), + 1889 ) + 1890 assert self.handles is not None + 1891 f = self.handles.handle + +File /usr/lib/python3/dist-packages/pandas/io/common.py:728, in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options) + 725 codecs.lookup_error(errors) + 727 # open URLs +--> 728 ioargs = _get_filepath_or_buffer( + 729 path_or_buf, + 730 encoding=encoding, + 731 compression=compression, + 732 mode=mode, + 733 storage_options=storage_options, + 734 ) + 736 handle = ioargs.filepath_or_buffer + 737 handles: list[BaseBuffer] + +File /usr/lib/python3/dist-packages/pandas/io/common.py:384, in _get_filepath_or_buffer(filepath_or_buffer, encoding, compression, mode, storage_options) + 382 # assuming storage_options is to be interpreted as headers + 383 req_info = urllib.request.Request(filepath_or_buffer, headers=storage_options) +--> 384 with urlopen(req_info) as req: + 385 content_encoding = req.headers.get("Content-Encoding", None) + 386 if content_encoding == "gzip": + 387 # Override compression based on Content-Encoding header + +File /usr/lib/python3/dist-packages/pandas/io/common.py:289, in urlopen(*args, **kwargs) + 283 """ + 284 Lazy-import wrapper for stdlib urlopen, as that imports a big chunk of + 285 the stdlib. + 286 """ + 287 import urllib.request +--> 289 return urllib.request.urlopen(*args, **kwargs) + +File /usr/lib/python3.12/urllib/request.py:215, in urlopen(url, data, timeout, cafile, capath, cadefault, context) + 213 else: + 214 opener = _opener +--> 215 return opener.open(url, data, timeout) + +File /usr/lib/python3.12/urllib/request.py:515, in OpenerDirector.open(self, fullurl, data, timeout) + 512 req = meth(req) + 514 sys.audit('urllib.Request', req.full_url, req.data, req.headers, req.get_method()) +--> 515 response = self._open(req, data) + 517 # post-process response + 518 meth_name = protocol+"_response" + +File /usr/lib/python3.12/urllib/request.py:532, in OpenerDirector._open(self, req, data) + 529 return result + 531 protocol = req.type +--> 532 result = self._call_chain(self.handle_open, protocol, protocol + + 533 '_open', req) + 534 if result: + 535 return result + +File /usr/lib/python3.12/urllib/request.py:492, in OpenerDirector._call_chain(self, chain, kind, meth_name, *args) + 490 for handler in handlers: + 491 func = getattr(handler, meth_name) +--> 492 result = func(*args) + 493 if result is not None: + 494 return result + +File /usr/lib/python3.12/urllib/request.py:1392, in HTTPSHandler.https_open(self, req) + 1391 def https_open(self, req): +-> 1392 return self.do_open(http.client.HTTPSConnection, req, + 1393 context=self._context) + +File /usr/lib/python3.12/urllib/request.py:1347, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args) + 1344 h.request(req.get_method(), req.selector, req.data, headers, + 1345 encode_chunked=req.has_header('Transfer-encoding')) + 1346 except OSError as err: # timeout error +-> 1347 raise URLError(err) + 1348 r = h.getresponse() + 1349 except: + +URLError: + +An error occurred while executing the following cell: +------------------ +import requests +from io import BytesIO +from zipfile import ZipFile + +# Download the dataset +df = pd.read_table( + "https://raw.githubusercontent.com/jrnold/ssmodels-in-stan/master/StanStateSpace/data-raw/DK-data/internet.dat", + skiprows=1, header=None, sep='\s+', engine='python', + names=['internet','dinternet'] +) +------------------ + +----- stderr ----- +<>:8: SyntaxWarning: invalid escape sequence '\s' +<>:8: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_2826649/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' + skiprows=1, header=None, sep='\s+', engine='python', +----- stderr ----- +/tmp/ipykernel_2826649/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' + skiprows=1, header=None, sep='\s+', engine='python', +------------------ + +--------------------------------------------------------------------------- +ConnectionRefusedError Traceback (most recent call last) +File /usr/lib/python3.12/urllib/request.py:1344, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args) + 1343 try: +-> 1344 h.request(req.get_method(), req.selector, req.data, headers, + 1345 encode_chunked=req.has_header('Transfer-encoding')) + 1346 except OSError as err: # timeout error + +File /usr/lib/python3.12/http/client.py:1336, in HTTPConnection.request(self, method, url, body, headers, encode_chunked) + 1335 """Send a complete request to the server.""" +-> 1336 self._send_request(method, url, body, headers, encode_chunked) + +File /usr/lib/python3.12/http/client.py:1382, in HTTPConnection._send_request(self, method, url, body, headers, encode_chunked) + 1381 body = _encode(body, 'body') +-> 1382 self.endheaders(body, encode_chunked=encode_chunked) + +File /usr/lib/python3.12/http/client.py:1331, in HTTPConnection.endheaders(self, message_body, encode_chunked) + 1330 raise CannotSendHeader() +-> 1331 self._send_output(message_body, encode_chunked=encode_chunked) + +File /usr/lib/python3.12/http/client.py:1091, in HTTPConnection._send_output(self, message_body, encode_chunked) + 1090 del self._buffer[:] +-> 1091 self.send(msg) + 1093 if message_body is not None: + 1094 + 1095 # create a consistent interface to message_body + +File /usr/lib/python3.12/http/client.py:1035, in HTTPConnection.send(self, data) + 1034 if self.auto_open: +-> 1035 self.connect() + 1036 else: + +File /usr/lib/python3.12/http/client.py:1470, in HTTPSConnection.connect(self) + 1468 "Connect to a host on a given (SSL) port." +-> 1470 super().connect() + 1472 if self._tunnel_host: + +File /usr/lib/python3.12/http/client.py:1001, in HTTPConnection.connect(self) + 1000 sys.audit("http.client.connect", self, self.host, self.port) +-> 1001 self.sock = self._create_connection( + 1002 (self.host,self.port), self.timeout, self.source_address) + 1003 # Might fail in OSs that don't implement TCP_NODELAY + +File /usr/lib/python3.12/socket.py:865, in create_connection(address, timeout, source_address, all_errors) + 864 if not all_errors: +--> 865 raise exceptions[0] + 866 raise ExceptionGroup("create_connection failed", exceptions) + +File /usr/lib/python3.12/socket.py:850, in create_connection(address, timeout, source_address, all_errors) + 849 sock.bind(source_address) +--> 850 sock.connect(sa) + 851 # Break explicitly a reference cycle + +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +URLError Traceback (most recent call last) +Cell In[3], line 6 + 3 from zipfile import ZipFile + 5 # Download the dataset +----> 6 df = pd.read_table( + 7 "https://raw.githubusercontent.com/jrnold/ssmodels-in-stan/master/StanStateSpace/data-raw/DK-data/internet.dat", + 8 skiprows=1, header=None, sep='\s+', engine='python', + 9 names=['internet','dinternet'] + 10 ) + +File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1405, in read_table(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, date_format, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, encoding_errors, dialect, on_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options, dtype_backend) + 1392 kwds_defaults = _refine_defaults_read( + 1393 dialect, + 1394 delimiter, + (...) + 1401 dtype_backend=dtype_backend, + 1402 ) + 1403 kwds.update(kwds_defaults) +-> 1405 return _read(filepath_or_buffer, kwds) + +File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:620, in _read(filepath_or_buffer, kwds) + 617 _validate_names(kwds.get("names", None)) + 619 # Create the parser. +--> 620 parser = TextFileReader(filepath_or_buffer, **kwds) + 622 if chunksize or iterator: + 623 return parser + +File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1620, in TextFileReader.__init__(self, f, engine, **kwds) + 1617 self.options["has_index_names"] = kwds["has_index_names"] + 1619 self.handles: IOHandles | None = None +-> 1620 self._engine = self._make_engine(f, self.engine) + +File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1880, in TextFileReader._make_engine(self, f, engine) + 1878 if "b" not in mode: + 1879 mode += "b" +-> 1880 self.handles = get_handle( + 1881 f, + 1882 mode, + 1883 encoding=self.options.get("encoding", None), + 1884 compression=self.options.get("compression", None), + 1885 memory_map=self.options.get("memory_map", False), + 1886 is_text=is_text, + 1887 errors=self.options.get("encoding_errors", "strict"), + 1888 storage_options=self.options.get("storage_options", None), + 1889 ) + 1890 assert self.handles is not None + 1891 f = self.handles.handle + +File /usr/lib/python3/dist-packages/pandas/io/common.py:728, in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options) + 725 codecs.lookup_error(errors) + 727 # open URLs +--> 728 ioargs = _get_filepath_or_buffer( + 729 path_or_buf, + 730 encoding=encoding, + 731 compression=compression, + 732 mode=mode, + 733 storage_options=storage_options, + 734 ) + 736 handle = ioargs.filepath_or_buffer + 737 handles: list[BaseBuffer] + +File /usr/lib/python3/dist-packages/pandas/io/common.py:384, in _get_filepath_or_buffer(filepath_or_buffer, encoding, compression, mode, storage_options) + 382 # assuming storage_options is to be interpreted as headers + 383 req_info = urllib.request.Request(filepath_or_buffer, headers=storage_options) +--> 384 with urlopen(req_info) as req: + 385 content_encoding = req.headers.get("Content-Encoding", None) + 386 if content_encoding == "gzip": + 387 # Override compression based on Content-Encoding header + +File /usr/lib/python3/dist-packages/pandas/io/common.py:289, in urlopen(*args, **kwargs) + 283 """ + 284 Lazy-import wrapper for stdlib urlopen, as that imports a big chunk of + 285 the stdlib. + 286 """ + 287 import urllib.request +--> 289 return urllib.request.urlopen(*args, **kwargs) + +File /usr/lib/python3.12/urllib/request.py:215, in urlopen(url, data, timeout, cafile, capath, cadefault, context) + 213 else: + 214 opener = _opener +--> 215 return opener.open(url, data, timeout) + +File /usr/lib/python3.12/urllib/request.py:515, in OpenerDirector.open(self, fullurl, data, timeout) + 512 req = meth(req) + 514 sys.audit('urllib.Request', req.full_url, req.data, req.headers, req.get_method()) +--> 515 response = self._open(req, data) + 517 # post-process response + 518 meth_name = protocol+"_response" + +File /usr/lib/python3.12/urllib/request.py:532, in OpenerDirector._open(self, req, data) + 529 return result + 531 protocol = req.type +--> 532 result = self._call_chain(self.handle_open, protocol, protocol + + 533 '_open', req) + 534 if result: + 535 return result + +File /usr/lib/python3.12/urllib/request.py:492, in OpenerDirector._call_chain(self, chain, kind, meth_name, *args) + 490 for handler in handlers: + 491 func = getattr(handler, meth_name) +--> 492 result = func(*args) + 493 if result is not None: + 494 return result + +File /usr/lib/python3.12/urllib/request.py:1392, in HTTPSHandler.https_open(self, req) + 1391 def https_open(self, req): +-> 1392 return self.do_open(http.client.HTTPSConnection, req, + 1393 context=self._context) + +File /usr/lib/python3.12/urllib/request.py:1347, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args) + 1344 h.request(req.get_method(), req.selector, req.data, headers, + 1345 encode_chunked=req.has_header('Transfer-encoding')) + 1346 except OSError as err: # timeout error +-> 1347 raise URLError(err) + 1348 r = h.getresponse() + 1349 except: + +URLError: + +****************************************************************************** + + Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_chandrasekhar.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_chandrasekhar.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_arma_0.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_arma_0.ipynb ****************************************************************************** +ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_cycles.ipynb +An error occurred while executing the following cell: +------------------ +from pandas_datareader.data import DataReader +endog = DataReader('UNRATE', 'fred', start='1954-01-01') +endog.index.freq = endog.index.inferred_freq +------------------ + + +--------------------------------------------------------------------------- +ModuleNotFoundError Traceback (most recent call last) +Cell In[3], line 1 +----> 1 from pandas_datareader.data import DataReader + 2 endog = DataReader('UNRATE', 'fred', start='1954-01-01') + 3 endog.index.freq = endog.index.inferred_freq + +ModuleNotFoundError: No module named 'pandas_datareader' + +An error occurred while executing the following cell: +------------------ +from pandas_datareader.data import DataReader +endog = DataReader('UNRATE', 'fred', start='1954-01-01') +endog.index.freq = endog.index.inferred_freq +------------------ + + +--------------------------------------------------------------------------- +ModuleNotFoundError Traceback (most recent call last) +Cell In[3], line 1 +----> 1 from pandas_datareader.data import DataReader + 2 endog = DataReader('UNRATE', 'fred', start='1954-01-01') + 3 endog.index.freq = endog.index.inferred_freq + +ModuleNotFoundError: No module named 'pandas_datareader' + +****************************************************************************** + + +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/rolling_ls.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/rolling_ls.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/robust_models_1.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/robust_models_1.ipynb + +****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_dfm_coincident.ipynb An error occurred while executing the following cell: ------------------ @@ -6956,49 +7034,59 @@ ****************************************************************************** -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/rolling_ls.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/rolling_ls.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/regression_plots.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/regression_plots.ipynb ****************************************************************************** -ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_cycles.ipynb +ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_chandrasekhar.ipynb An error occurred while executing the following cell: ------------------ +%matplotlib inline + +import numpy as np +import pandas as pd +import statsmodels.api as sm +import matplotlib.pyplot as plt + from pandas_datareader.data import DataReader -endog = DataReader('UNRATE', 'fred', start='1954-01-01') -endog.index.freq = endog.index.inferred_freq ------------------ --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) -Cell In[3], line 1 -----> 1 from pandas_datareader.data import DataReader - 2 endog = DataReader('UNRATE', 'fred', start='1954-01-01') - 3 endog.index.freq = endog.index.inferred_freq +Cell In[1], line 8 + 5 import statsmodels.api as sm + 6 import matplotlib.pyplot as plt +----> 8 from pandas_datareader.data import DataReader ModuleNotFoundError: No module named 'pandas_datareader' An error occurred while executing the following cell: ------------------ +%matplotlib inline + +import numpy as np +import pandas as pd +import statsmodels.api as sm +import matplotlib.pyplot as plt + from pandas_datareader.data import DataReader -endog = DataReader('UNRATE', 'fred', start='1954-01-01') -endog.index.freq = endog.index.inferred_freq ------------------ --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) -Cell In[3], line 1 -----> 1 from pandas_datareader.data import DataReader - 2 endog = DataReader('UNRATE', 'fred', start='1954-01-01') - 3 endog.index.freq = endog.index.inferred_freq +Cell In[1], line 8 + 5 import statsmodels.api as sm + 6 import matplotlib.pyplot as plt +----> 8 from pandas_datareader.data import DataReader ModuleNotFoundError: No module named 'pandas_datareader' ****************************************************************************** -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/robust_models_1.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/robust_models_1.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/regression_plots.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/regression_plots.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/recursive_ls.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/recursive_ls.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/quasibinomial.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/quasibinomial.ipynb ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/rolling_ls.ipynb @@ -7061,61 +7149,8 @@ ****************************************************************************** -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/recursive_ls.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/recursive_ls.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/quasibinomial.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/quasibinomial.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/quantile_regression.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/quantile_regression.ipynb - -****************************************************************************** -ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_chandrasekhar.ipynb -An error occurred while executing the following cell: ------------------- -%matplotlib inline - -import numpy as np -import pandas as pd -import statsmodels.api as sm -import matplotlib.pyplot as plt - -from pandas_datareader.data import DataReader ------------------- - - ---------------------------------------------------------------------------- -ModuleNotFoundError Traceback (most recent call last) -Cell In[1], line 8 - 5 import statsmodels.api as sm - 6 import matplotlib.pyplot as plt -----> 8 from pandas_datareader.data import DataReader - -ModuleNotFoundError: No module named 'pandas_datareader' - -An error occurred while executing the following cell: ------------------- -%matplotlib inline - -import numpy as np -import pandas as pd -import statsmodels.api as sm -import matplotlib.pyplot as plt - -from pandas_datareader.data import DataReader ------------------- - - ---------------------------------------------------------------------------- -ModuleNotFoundError Traceback (most recent call last) -Cell In[1], line 8 - 5 import statsmodels.api as sm - 6 import matplotlib.pyplot as plt -----> 8 from pandas_datareader.data import DataReader - -ModuleNotFoundError: No module named 'pandas_datareader' - -****************************************************************************** - - Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/postestimation_poisson.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/postestimation_poisson.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/pca_fertility_factors.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/pca_fertility_factors.ipynb ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/recursive_ls.ipynb @@ -7168,6 +7203,7 @@ ****************************************************************************** +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/pca_fertility_factors.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/pca_fertility_factors.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/ordinal_regression.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/ordinal_regression.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/ols.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/ols.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/mstl_decomposition.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/mstl_decomposition.ipynb @@ -7995,6 +8031,7 @@ Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/glm_weights.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/glm_weights.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/glm_formula.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/glm_formula.ipynb ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/interactions_anova.ipynb @@ -8363,7 +8400,9 @@ ****************************************************************************** -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/glm_formula.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/glm_formula.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/glm.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/glm.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/gee_nested_simulation.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/gee_nested_simulation.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/formulas.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/formulas.ipynb ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/mstl_decomposition.ipynb @@ -8726,9 +8765,6 @@ ****************************************************************************** -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/glm.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/glm.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/gee_nested_simulation.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/gee_nested_simulation.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/formulas.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/formulas.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/distributed_estimation.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/distributed_estimation.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/discrete_choice_overview.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/discrete_choice_overview.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/discrete_choice_example.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/discrete_choice_example.ipynb @@ -9672,14 +9708,14 @@ [autosummary] generating autosummary for: /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModel.endog_names.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModel.exog_names.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModel.expandparams.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModel.fit.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModel.from_formula.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModel.hessian.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModel.hessian_factor.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModel.information.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModel.initialize.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModel.loglike.rst, ..., /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.test_granger_causality.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.test_inst_causality.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.test_normality.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.test_whiteness.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.tvalues_alpha.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.tvalues_beta.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.tvalues_det_coef.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.tvalues_det_coef_coint.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.tvalues_gamma.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.var_rep.rst loading intersphinx inventory 'numpy' from https://docs.scipy.org/doc/numpy/objects.inv... WARNING: failed to reach any of the inventories with the following issues: -intersphinx inventory 'https://docs.scipy.org/doc/numpy/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.scipy.org', port=443): Max retries exceeded with url: /doc/numpy/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +intersphinx inventory 'https://docs.scipy.org/doc/numpy/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.scipy.org', port=443): Max retries exceeded with url: /doc/numpy/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) loading intersphinx inventory 'python' from /usr/share/doc/python3-doc/html/objects.inv... loading intersphinx inventory 'pydagogue' from https://matthew-brett.github.io/pydagogue/objects.inv... WARNING: failed to reach any of the inventories with the following issues: -intersphinx inventory 'https://matthew-brett.github.io/pydagogue/objects.inv' not fetchable due to : HTTPSConnectionPool(host='matthew-brett.github.io', port=443): Max retries exceeded with url: /pydagogue/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +intersphinx inventory 'https://matthew-brett.github.io/pydagogue/objects.inv' not fetchable due to : HTTPSConnectionPool(host='matthew-brett.github.io', port=443): Max retries exceeded with url: /pydagogue/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) loading intersphinx inventory 'matplotlib' from https://matplotlib.org/objects.inv... WARNING: failed to reach any of the inventories with the following issues: -intersphinx inventory 'https://matplotlib.org/objects.inv' not fetchable due to : HTTPSConnectionPool(host='matplotlib.org', port=443): Max retries exceeded with url: /objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +intersphinx inventory 'https://matplotlib.org/objects.inv' not fetchable due to : HTTPSConnectionPool(host='matplotlib.org', port=443): Max retries exceeded with url: /objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) loading intersphinx inventory 'scipy' from /usr/share/doc/python-scipy-doc/html/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory '/usr/share/doc/python-scipy-doc/html/objects.inv' not fetchable due to : [Errno 2] No such file or directory: '/usr/share/doc/python-scipy-doc/html/objects.inv' @@ -47295,13 +47331,9 @@ exposure = np.log(exposure) graphics/tests/test_functional.py: 240 warnings - /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=3868770) is multi-threaded, use of fork() may lead to deadlocks in the child. + /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=3277624) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() -nonparametric/tests/test_kernel_density.py::TestKDEMultivariate::test_continuous_cvls_efficient - /usr/lib/python3/dist-packages/joblib/externals/loky/backend/fork_exec.py:38: DeprecationWarning: This process (pid=3868770) is multi-threaded, use of fork() may lead to deadlocks in the child. - pid = os.fork() - nonparametric/tests/test_kernel_density.py::TestKDEMultivariateConditional::test_unordered_CV_LS /build/reproducible-path/statsmodels-0.14.4+dfsg/.pybuild/cpython3_3.12_statsmodels/build/statsmodels/nonparametric/kernel_density.py:679: RuntimeWarning: invalid value encountered in scalar divide CV += (G / m_x ** 2) - 2 * (f_X_Y / m_x) @@ -47459,7 +47491,7 @@ W[i], eigva[i], k[i] = util.eigval_decomp(stack_cov[i]) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -== 17551 passed, 306 skipped, 139 xfailed, 463 warnings in 2758.99s (0:45:58) == +== 17551 passed, 306 skipped, 139 xfailed, 462 warnings in 1514.69s (0:25:14) == make[1]: Leaving directory '/build/reproducible-path/statsmodels-0.14.4+dfsg' create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=pybuild @@ -51508,9 +51540,9 @@ dh_installdocs: warning: Cannot auto-detect main package for python-statsmodels-doc. If the default is wrong, please use --doc-main-package make[1]: Leaving directory '/build/reproducible-path/statsmodels-0.14.4+dfsg' dh_sphinxdoc -O--buildsystem=pybuild +dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-statsmodels-doc/usr/share/doc/python-statsmodels-doc/html/_static/mktree.js dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-statsmodels-doc/usr/share/doc/python-statsmodels-doc/html/_static/scripts.js dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-statsmodels-doc/usr/share/doc/python-statsmodels-doc/html/_static/facebox.js -dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-statsmodels-doc/usr/share/doc/python-statsmodels-doc/html/_static/mktree.js dh_installchangelogs -O--buildsystem=pybuild dh_installexamples -O--buildsystem=pybuild dh_installexamples: warning: Cannot auto-detect main package for python-statsmodels-doc. If the default is wrong, please use --doc-main-package @@ -51550,9 +51582,9 @@ dpkg-gencontrol: warning: package python-statsmodels-doc: substitution variable ${sphinxdoc:Built-Using} unused, but is defined dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild -dpkg-deb: building package 'python3-statsmodels' in '../python3-statsmodels_0.14.4+dfsg-1_all.deb'. -dpkg-deb: building package 'python-statsmodels-doc' in '../python-statsmodels-doc_0.14.4+dfsg-1_all.deb'. dpkg-deb: building package 'python3-statsmodels-lib' in '../python3-statsmodels-lib_0.14.4+dfsg-1_arm64.deb'. +dpkg-deb: building package 'python-statsmodels-doc' in '../python-statsmodels-doc_0.14.4+dfsg-1_all.deb'. +dpkg-deb: building package 'python3-statsmodels' in '../python3-statsmodels_0.14.4+dfsg-1_all.deb'. dpkg-deb: building package 'python3-statsmodels-lib-dbgsym' in '../python3-statsmodels-lib-dbgsym_0.14.4+dfsg-1_arm64.deb'. dpkg-genbuildinfo --build=binary -O../statsmodels_0.14.4+dfsg-1_arm64.buildinfo dpkg-genchanges --build=binary -O../statsmodels_0.14.4+dfsg-1_arm64.changes @@ -51561,12 +51593,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2131024/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2131024/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2660639 and its subdirectories -I: Current time: Tue Dec 9 12:45:59 -12 2025 -I: pbuilder-time-stamp: 1765327559 +I: removing directory /srv/workspace/pbuilder/2131024 and its subdirectories +I: Current time: Thu Nov 7 09:44:44 +14 2024 +I: pbuilder-time-stamp: 1730922284