Diff of the two buildlogs: -- --- b1/build.log 2025-01-26 09:20:20.469264277 +0000 +++ b2/build.log 2025-01-26 10:50:40.280420948 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 25 17:15:31 -12 2025 -I: pbuilder-time-stamp: 1737868531 +I: Current time: Sun Mar 1 05:43:25 +14 2026 +I: pbuilder-time-stamp: 1772293405 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -48,52 +48,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/1720421/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1367033/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-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 Feb 28 15:43 /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/1367033/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1367033/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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(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='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='e6ce08c33c8643e2acc273439991d7e2' - 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='1720421' - PS1='# ' - PS2='> ' + INVOCATION_ID=c1310a0cf552405c993b6217a77c9302 + 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=1367033 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.JtId5PE3/pbuilderrc_fxz6 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.JtId5PE3/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.JtId5PE3/pbuilderrc_6UxT --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.JtId5PE3/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 codethink04-arm64 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1720421/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1367033/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -616,7 +648,7 @@ Get: 399 http://deb.debian.org/debian trixie/main arm64 r-cran-lmtest arm64 0.9.40-1+b1 [403 kB] Get: 400 http://deb.debian.org/debian trixie/main arm64 r-cran-robustbase arm64 0.99-4-1-1 [3042 kB] Get: 401 http://deb.debian.org/debian trixie/main arm64 r-cran-vcd all 1:1.4-13-1 [1287 kB] -Fetched 318 MB in 2s (142 MB/s) +Fetched 318 MB in 2s (129 MB/s) Preconfiguring packages ... Selecting previously unselected package libtext-charwidth-perl:arm64. (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 ... 19970 files and directories currently installed.) @@ -1899,8 +1931,8 @@ Setting up tzdata (2024b-6) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Jan 26 05:17:43 UTC 2025. -Universal Time is now: Sun Jan 26 05:17:43 UTC 2025. +Local time is now: Sat Feb 28 15:44:28 UTC 2026. +Universal Time is now: Sat Feb 28 15:44:28 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up unicode-data (15.1.0-1) ... @@ -2268,7 +2300,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/1367033/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1367033/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 @@ -6114,18 +6150,18 @@ mkdir -p build/source/examples/notebooks/generated # 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/robust_models_0.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/robust_models_0.ipynbExecuting /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.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/ets.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/ets.ipynbExecuting /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/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 -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/markov_regression.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/markov_regression.ipynbExecuting /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/wls.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/wls.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.ipynbExecuting /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 + +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/markov_regression.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/markov_regression.ipynb +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/wls.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/wls.ipynb RUNNING THE L-BFGS-B CODE * * * @@ -6389,10 +6425,10 @@ 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/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 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 @@ -6400,6 +6436,8 @@ 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 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 ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/theta-model.ipynb @@ -6458,8 +6496,6 @@ ****************************************************************************** -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 @@ -6496,7 +6532,76 @@ CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL 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 + +****************************************************************************** +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_sarimax_faq.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_sarimax_faq.ipynb +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 @@ -6576,12 +6681,12 @@ 215 ) from e 217 sys.audit("http.client.connect", self, self.host, self.port) -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: @@ -6615,7 +6720,7 @@ --> 519 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 521 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: @@ -6675,7 +6780,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: ------------------ @@ -6753,12 +6858,12 @@ 215 ) from e 217 sys.audit("http.client.connect", self, self.host, self.port) -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: @@ -6792,7 +6897,7 @@ --> 519 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 521 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: @@ -6852,76 +6957,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'))) - -****************************************************************************** - - -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_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' +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'))) ****************************************************************************** @@ -6992,6 +7028,104 @@ Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_forecasting.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_forecasting.ipynb +RUNNING THE L-BFGS-B CODE + + * * * + +Machine precision = 2.220D-16 + N = 2 M = 10 + This problem is unconstrained. + +At X0 0 variables are exactly at the bounds + +At iterate 0 f= 1.91760D+00 |proj g|= 3.68858D-06 + + * * * + +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 + 2 0 1 0 0 0 3.689D-06 1.918D+00 + F = 1.9175996129577775 + +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. + +At X0 0 variables are exactly at the bounds + +At iterate 0 f= 1.41373D+00 |proj g|= 9.51828D-04 + + * * * + +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 + 3 2 5 1 0 0 4.516D-05 1.414D+00 + F = 1.4137311050015484 + +CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH +RUNNING THE L-BFGS-B CODE + + * * * + +Machine precision = 2.220D-16 + N = 3 M = 10 + This problem is unconstrained. + +At X0 0 variables are exactly at the bounds + +At iterate 0 f= 1.41373D+00 |proj g|= 1.06920D-04 + + * * * + +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 + 3 1 4 1 0 0 4.752D-05 1.414D+00 + F = 1.4137311099487528 + +CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH +RUNNING THE L-BFGS-B CODE + + * * * + +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 ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_sarimax_stata.ipynb @@ -7065,12 +7199,12 @@ 215 ) from e 217 sys.audit("http.client.connect", self, self.host, self.port) -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: @@ -7104,7 +7238,7 @@ --> 519 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 521 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: @@ -7156,7 +7290,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: ------------------ @@ -7228,12 +7362,12 @@ 215 ) from e 217 sys.audit("http.client.connect", self, self.host, self.port) -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: @@ -7267,7 +7401,7 @@ --> 519 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 521 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: @@ -7319,141 +7453,12 @@ 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'))) ****************************************************************************** Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_fixed_params.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_fixed_params.ipynb -RUNNING THE L-BFGS-B CODE - - * * * - -Machine precision = 2.220D-16 - N = 2 M = 10 - This problem is unconstrained. - -At X0 0 variables are exactly at the bounds - -At iterate 0 f= 1.91760D+00 |proj g|= 3.68858D-06 - - * * * - -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 - 2 0 1 0 0 0 3.689D-06 1.918D+00 - F = 1.9175996129577775 - -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. - -At X0 0 variables are exactly at the bounds - -At iterate 0 f= 1.41373D+00 |proj g|= 9.51828D-04 - - * * * - -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 - 3 2 5 1 0 0 4.516D-05 1.414D+00 - F = 1.4137311050015484 - -CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH -RUNNING THE L-BFGS-B CODE - - * * * - -Machine precision = 2.220D-16 - N = 3 M = 10 - This problem is unconstrained. - -At X0 0 variables are exactly at the bounds - -At iterate 0 f= 1.41373D+00 |proj g|= 1.06920D-04 - - * * * - -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 - 3 1 4 1 0 0 4.752D-05 1.414D+00 - F = 1.4137311099487528 - -CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH -RUNNING THE L-BFGS-B CODE - - * * * - -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 -RUNNING THE L-BFGS-B CODE - - * * * - -Machine precision = 2.220D-16 - N = 3 M = 10 - This problem is unconstrained. - -At X0 0 variables are exactly at the bounds - -At iterate 0 f= 2.32873D+00 |proj g|= 8.23649D-03 - -At iterate 5 f= 2.32864D+00 |proj g|= 1.41994D-03 - - * * * - -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 - 3 8 10 1 0 0 5.820D-06 2.329D+00 - F = 2.3286389358138648 - -CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL At iterate 5 f= 1.41332D+00 |proj g|= 1.60874D-03 @@ -7486,99 +7491,6 @@ 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 - - * * * - -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 - 3 6 8 1 0 0 7.065D-07 2.231D+00 - F = 2.2310884444664767 - -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. - -At X0 0 variables are exactly at the bounds - -At iterate 0 f= 2.22839D+00 |proj g|= 2.38554D-03 - -At iterate 5 f= 2.22838D+00 |proj g|= 9.78773D-08 - - * * * - -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 - 3 5 8 1 0 0 9.788D-08 2.228D+00 - F = 2.2283821699856383 - -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. - -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 - - * * * - -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 - 3 6 8 1 0 0 7.065D-07 2.231D+00 - F = 2.2310884444664767 - -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. - -At X0 0 variables are exactly at the bounds - At iterate 0 f= 2.58518D+00 |proj g|= 5.99456D-05 * * * @@ -7618,10 +7530,10 @@ ----- stderr ----- <>:8: SyntaxWarning: invalid escape sequence '\s' <>:8: SyntaxWarning: invalid escape sequence '\s' -/tmp/ipykernel_1837433/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_1598356/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ----- stderr ----- -/tmp/ipykernel_1837433/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_1598356/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ------------------ @@ -7818,10 +7730,10 @@ ----- stderr ----- <>:8: SyntaxWarning: invalid escape sequence '\s' <>:8: SyntaxWarning: invalid escape sequence '\s' -/tmp/ipykernel_1837433/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_1598356/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ----- stderr ----- -/tmp/ipykernel_1837433/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_1598356/1758367982.py:8: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ------------------ @@ -8015,93 +7927,9 @@ 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 - - * * * - -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 - 3 6 8 1 0 0 7.065D-07 2.231D+00 - F = 2.2310884444664767 - -CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL - -****************************************************************************** -ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_fixed_params.ipynb -An error occurred while executing the following cell: ------------------- -%matplotlib inline - -from importlib import reload -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 9 - 6 import statsmodels.api as sm - 7 import matplotlib.pyplot as plt -----> 9 from pandas_datareader.data import DataReader - -ModuleNotFoundError: No module named 'pandas_datareader' - -An error occurred while executing the following cell: ------------------- -%matplotlib inline - -from importlib import reload -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 9 - 6 import statsmodels.api as sm - 7 import matplotlib.pyplot as plt -----> 9 from pandas_datareader.data import DataReader - -ModuleNotFoundError: No module named 'pandas_datareader' - -****************************************************************************** - - -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 - - * * * - -Machine precision = 2.220D-16 - N = 2 M = 10 - This problem is unconstrained. - -At X0 0 variables are exactly at the bounds - -At iterate 0 f= 1.37900D-01 |proj g|= 4.66940D-01 +At iterate 0 f= 2.32873D+00 |proj g|= 8.23649D-03 -At iterate 5 f= 1.32476D-01 |proj g|= 6.00136D-06 +At iterate 5 f= 2.32864D+00 |proj g|= 1.41994D-03 * * * @@ -8116,8 +7944,8 @@ * * * N Tit Tnf Tnint Skip Nact Projg F - 2 5 10 1 0 0 6.001D-06 1.325D-01 - F = 0.13247641992895676 + 3 8 10 1 0 0 5.820D-06 2.329D+00 + F = 2.3286389358138648 CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL @@ -8168,7 +7996,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 ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_local_linear_trend.ipynb @@ -8191,10 +8019,9 @@ ----- stderr ----- <>:10: SyntaxWarning: invalid escape sequence '\s' <>:10: SyntaxWarning: invalid escape sequence '\s' -/tmp/ipykernel_1837494/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_1598652/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ------ stderr ----- -/tmp/ipykernel_1837494/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_1598652/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ------------------ @@ -8294,12 +8121,12 @@ 215 ) from e 217 sys.audit("http.client.connect", self, self.host, self.port) -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: @@ -8333,7 +8160,7 @@ --> 519 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 521 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: @@ -8390,7 +8217,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: ------------------ @@ -8411,10 +8238,9 @@ ----- stderr ----- <>:10: SyntaxWarning: invalid escape sequence '\s' <>:10: SyntaxWarning: invalid escape sequence '\s' -/tmp/ipykernel_1837494/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_1598652/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ------ stderr ----- -/tmp/ipykernel_1837494/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' +/tmp/ipykernel_1598652/2613092943.py:10: SyntaxWarning: invalid escape sequence '\s' skiprows=1, header=None, sep='\s+', engine='python', ------------------ @@ -8514,12 +8340,12 @@ 215 ) from e 217 sys.audit("http.client.connect", self, self.host, self.port) -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: @@ -8553,7 +8379,7 @@ --> 519 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 521 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: @@ -8610,14 +8436,220 @@ 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_concentrated_scale.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/statespace_concentrated_scale.ipynb +RUNNING THE L-BFGS-B CODE + + * * * + +Machine precision = 2.220D-16 + N = 3 M = 10 + This problem is unconstrained. + +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 + + * * * + +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 + 3 6 8 1 0 0 7.065D-07 2.231D+00 + F = 2.2310884444664767 + +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. + +At X0 0 variables are exactly at the bounds + +At iterate 0 f= 2.22839D+00 |proj g|= 2.38554D-03 + +At iterate 5 f= 2.22838D+00 |proj g|= 9.78773D-08 + + * * * + +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 + 3 5 8 1 0 0 9.788D-08 2.228D+00 + F = 2.2283821699856383 + +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. + +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 + + * * * + +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 + 3 6 8 1 0 0 7.065D-07 2.231D+00 + F = 2.2310884444664767 + +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. + +At X0 0 variables are exactly at the bounds + +At iterate 0 f= 2.23132D+00 |proj g|= 1.09171D-02 + +****************************************************************************** +ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_fixed_params.ipynb +An error occurred while executing the following cell: +------------------ +%matplotlib inline + +from importlib import reload +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 9 + 6 import statsmodels.api as sm + 7 import matplotlib.pyplot as plt +----> 9 from pandas_datareader.data import DataReader + +ModuleNotFoundError: No module named 'pandas_datareader' + +An error occurred while executing the following cell: +------------------ +%matplotlib inline + +from importlib import reload +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 9 + 6 import statsmodels.api as sm + 7 import matplotlib.pyplot as plt +----> 9 from pandas_datareader.data import DataReader + +ModuleNotFoundError: No module named 'pandas_datareader' ****************************************************************************** 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 -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 + +At iterate 5 f= 2.23109D+00 |proj g|= 3.93605D-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 + 3 6 8 1 0 0 7.065D-07 2.231D+00 + F = 2.2310884444664767 + +CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL +RUNNING THE L-BFGS-B CODE + + * * * + +Machine precision = 2.220D-16 + N = 2 M = 10 + This problem is unconstrained. + +At X0 0 variables are exactly at the bounds + +At iterate 0 f= 1.37900D-01 |proj g|= 4.66940D-01 + +At iterate 5 f= 1.32476D-01 |proj g|= 6.00136D-06 + + * * * + +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 + 2 5 10 1 0 0 6.001D-06 1.325D-01 + F = 0.13247641992895676 + +CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/statespace_dfm_coincident.ipynb @@ -8674,51 +8706,43 @@ ****************************************************************************** +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 +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_chandrasekhar.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: ------------------ -%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[1], line 8 - 5 import statsmodels.api as sm - 6 import matplotlib.pyplot as plt -----> 8 from pandas_datareader.data import DataReader +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: ------------------ -%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[1], line 8 - 5 import statsmodels.api as sm - 6 import matplotlib.pyplot as plt -----> 8 from pandas_datareader.data import DataReader +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' @@ -8728,38 +8752,48 @@ 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' @@ -8767,6 +8801,7 @@ 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 @@ -8829,7 +8864,6 @@ ****************************************************************************** -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 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 @@ -8888,6 +8922,7 @@ 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 +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/metaanalysis1.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/metaanalysis1.ipynb ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/ordinal_regression.ipynb @@ -9258,13 +9293,11 @@ ****************************************************************************** -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/metaanalysis1.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/metaanalysis1.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/mediation_survival.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/mediation_survival.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/markov_autoregression.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/markov_autoregression.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/lowess.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/lowess.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/linear_regression_diagnostics_plots.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/linear_regression_diagnostics_plots.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/kernel_density.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/kernel_density.ipynb -Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/interactions_anova.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/interactions_anova.ipynb ****************************************************************************** ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/markov_autoregression.ipynb @@ -9339,6 +9372,7 @@ ****************************************************************************** +Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/interactions_anova.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/interactions_anova.ipynb Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/influence_glm_logit.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/influence_glm_logit.ipynb ****************************************************************************** @@ -9711,60 +9745,104 @@ Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/gls.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/gls.ipynb +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 +ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/mstl_decomposition.ipynb An error occurred while executing the following cell: ------------------ -from urllib.request import urlopen -import numpy as np +url = "https://raw.githubusercontent.com/tidyverts/tsibbledata/master/data-raw/vic_elec/VIC2015/demand.csv" +df = pd.read_csv(url) +------------------ -np.set_printoptions(precision=4, suppress=True) -import pandas as pd +--------------------------------------------------------------------------- +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 -pd.set_option("display.width", 100) -import matplotlib.pyplot as plt -from statsmodels.formula.api import ols -from statsmodels.graphics.api import interaction_plot, abline_plot -from statsmodels.stats.anova import anova_lm +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) -try: - salary_table = pd.read_csv("salary.table") -except: # recent pandas can read URL without urlopen - url = "http://stats191.stanford.edu/data/salary.table" - fh = urlopen(url) - salary_table = pd.read_table(fh) - salary_table.to_csv("salary.table") +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) -E = salary_table.E -M = salary_table.M -X = salary_table.X -S = salary_table.S ------------------- +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 ---------------------------------------------------------------------------- -FileNotFoundError Traceback (most recent call last) -Cell In[2], line 15 - 14 try: ----> 15 salary_table = pd.read_csv("salary.table") - 16 except: # recent pandas can read URL without urlopen +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[10], line 2 + 1 url = "https://raw.githubusercontent.com/tidyverts/tsibbledata/master/data-raw/vic_elec/VIC2015/demand.csv" +----> 2 df = pd.read_csv(url) File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1026, in read_csv(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) + 1013 kwds_defaults = _refine_defaults_read( + 1014 dialect, + 1015 delimiter, + (...) + 1022 dtype_backend=dtype_backend, + 1023 ) 1024 kwds.update(kwds_defaults) -> 1026 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, @@ -9777,24 +9855,87 @@ 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:873, in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options) - 871 if ioargs.encoding and "b" not in ioargs.mode: - 872 # Encoding ---> 873 handle = open( - 874 handle, - 875 ioargs.mode, - 876 encoding=ioargs.encoding, - 877 errors=errors, - 878 newline="", - 879 ) - 880 else: - 881 # Binary mode +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] -FileNotFoundError: [Errno 2] No such file or directory: 'salary.table' +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 -During handling of the above exception, another exception occurred: +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: +------------------ +url = "https://raw.githubusercontent.com/tidyverts/tsibbledata/master/data-raw/vic_elec/VIC2015/demand.csv" +df = pd.read_csv(url) +------------------ + + +--------------------------------------------------------------------------- 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: @@ -9826,6 +9967,11 @@ -> 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( @@ -9847,12 +9993,76 @@ During handling of the above exception, another exception occurred: URLError Traceback (most recent call last) -Cell In[2], line 18 - 16 except: # recent pandas can read URL without urlopen - 17 url = "http://stats191.stanford.edu/data/salary.table" ----> 18 fh = urlopen(url) - 19 salary_table = pd.read_table(fh) - 20 salary_table.to_csv("salary.table") +Cell In[10], line 2 + 1 url = "https://raw.githubusercontent.com/tidyverts/tsibbledata/master/data-raw/vic_elec/VIC2015/demand.csv" +----> 2 df = pd.read_csv(url) + +File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1026, in read_csv(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) + 1013 kwds_defaults = _refine_defaults_read( + 1014 dialect, + 1015 delimiter, + (...) + 1022 dtype_backend=dtype_backend, + 1023 ) + 1024 kwds.update(kwds_defaults) +-> 1026 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: @@ -9881,9 +10091,10 @@ 493 if result is not None: 494 return result -File /usr/lib/python3.12/urllib/request.py:1373, in HTTPHandler.http_open(self, req) - 1372 def http_open(self, req): --> 1373 return self.do_open(http.client.HTTPConnection, req) +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, @@ -9895,6 +10106,13 @@ URLError: +****************************************************************************** + + +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 + +****************************************************************************** +ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/interactions_anova.ipynb An error occurred while executing the following cell: ------------------ from urllib.request import urlopen @@ -10076,111 +10294,57 @@ URLError: -****************************************************************************** - - -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 -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 - -****************************************************************************** -ERROR: Error occurred when running /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/mstl_decomposition.ipynb An error occurred while executing the following cell: ------------------ -url = "https://raw.githubusercontent.com/tidyverts/tsibbledata/master/data-raw/vic_elec/VIC2015/demand.csv" -df = pd.read_csv(url) ------------------- - - ---------------------------------------------------------------------------- -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: +from urllib.request import urlopen +import numpy as np -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: +np.set_printoptions(precision=4, suppress=True) -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 +import pandas as pd -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) +pd.set_option("display.width", 100) +import matplotlib.pyplot as plt +from statsmodels.formula.api import ols +from statsmodels.graphics.api import interaction_plot, abline_plot +from statsmodels.stats.anova import anova_lm -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 +try: + salary_table = pd.read_csv("salary.table") +except: # recent pandas can read URL without urlopen + url = "http://stats191.stanford.edu/data/salary.table" + fh = urlopen(url) + salary_table = pd.read_table(fh) + salary_table.to_csv("salary.table") -ConnectionRefusedError: [Errno 111] Connection refused +E = salary_table.E +M = salary_table.M +X = salary_table.X +S = salary_table.S +------------------ -During handling of the above exception, another exception occurred: -URLError Traceback (most recent call last) -Cell In[10], line 2 - 1 url = "https://raw.githubusercontent.com/tidyverts/tsibbledata/master/data-raw/vic_elec/VIC2015/demand.csv" -----> 2 df = pd.read_csv(url) +--------------------------------------------------------------------------- +FileNotFoundError Traceback (most recent call last) +Cell In[2], line 15 + 14 try: +---> 15 salary_table = pd.read_csv("salary.table") + 16 except: # recent pandas can read URL without urlopen File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1026, in read_csv(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) - 1013 kwds_defaults = _refine_defaults_read( - 1014 dialect, - 1015 delimiter, - (...) - 1022 dtype_backend=dtype_backend, - 1023 ) 1024 kwds.update(kwds_defaults) -> 1026 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, @@ -10193,87 +10357,24 @@ 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: +File /usr/lib/python3/dist-packages/pandas/io/common.py:873, in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options) + 871 if ioargs.encoding and "b" not in ioargs.mode: + 872 # Encoding +--> 873 handle = open( + 874 handle, + 875 ioargs.mode, + 876 encoding=ioargs.encoding, + 877 errors=errors, + 878 newline="", + 879 ) + 880 else: + 881 # Binary mode -An error occurred while executing the following cell: ------------------- -url = "https://raw.githubusercontent.com/tidyverts/tsibbledata/master/data-raw/vic_elec/VIC2015/demand.csv" -df = pd.read_csv(url) ------------------- +FileNotFoundError: [Errno 2] No such file or directory: 'salary.table' +During handling of the above exception, another exception occurred: ---------------------------------------------------------------------------- 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: @@ -10305,11 +10406,6 @@ -> 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( @@ -10331,76 +10427,12 @@ During handling of the above exception, another exception occurred: URLError Traceback (most recent call last) -Cell In[10], line 2 - 1 url = "https://raw.githubusercontent.com/tidyverts/tsibbledata/master/data-raw/vic_elec/VIC2015/demand.csv" -----> 2 df = pd.read_csv(url) - -File /usr/lib/python3/dist-packages/pandas/io/parsers/readers.py:1026, in read_csv(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) - 1013 kwds_defaults = _refine_defaults_read( - 1014 dialect, - 1015 delimiter, - (...) - 1022 dtype_backend=dtype_backend, - 1023 ) - 1024 kwds.update(kwds_defaults) --> 1026 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) +Cell In[2], line 18 + 16 except: # recent pandas can read URL without urlopen + 17 url = "http://stats191.stanford.edu/data/salary.table" +---> 18 fh = urlopen(url) + 19 salary_table = pd.read_table(fh) + 20 salary_table.to_csv("salary.table") File /usr/lib/python3.12/urllib/request.py:215, in urlopen(url, data, timeout, cafile, capath, cadefault, context) 213 else: @@ -10429,10 +10461,9 @@ 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:1373, in HTTPHandler.http_open(self, req) + 1372 def http_open(self, req): +-> 1373 return self.do_open(http.client.HTTPConnection, req) 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, @@ -10447,6 +10478,9 @@ ****************************************************************************** +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 Executing /build/reproducible-path/statsmodels-0.14.4+dfsg/examples/notebooks/deterministics.ipynb to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/examples/notebooks/generated/deterministics.ipynb @@ -11388,16 +11422,16 @@ [autosummary] generating autosummary for: /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/datasets/statsmodels.datasets.clear_data_home.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/datasets/statsmodels.datasets.get_data_home.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/datasets/statsmodels.datasets.get_rdataset.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/datasets/statsmodels.datasets.webuse.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.__init__.test.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModel.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.GenericLikelihoodModelResults.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.LikelihoodModel.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.LikelihoodModelResults.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/dev/generated/statsmodels.base.model.Model.rst, ..., /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.var_model.VARResults.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.CointRankResults.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.JohansenTestResult.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECM.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.coint_johansen.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.select_coint_rank.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.vector_ar.vecm.select_order.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.x13.x13_arima_analysis.rst, /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/source/generated/statsmodels.tsa.x13.x13_arima_select_order.rst [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'))) 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'))) 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://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 '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 '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'))) +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'))) loading intersphinx inventory 'pandas' from /usr/share/doc/python-pandas-doc/html/objects.inv ... Writing evaluated template result to /build/reproducible-path/statsmodels-0.14.4+dfsg/docs/build/html/_static/nbsphinx-code-cells.css building [mo]: targets for 0 po files that are out of date @@ -49087,7 +49121,7 @@ exposure = np.log(exposure) graphics/tests/test_functional.py: 240 warnings - /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=2161934) is multi-threaded, use of fork() may lead to deadlocks in the child. + /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=2037202) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() nonparametric/tests/test_kernel_density.py::TestKDEMultivariateConditional::test_unordered_CV_LS @@ -49253,7 +49287,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, 468 warnings in 3849.67s (1:04:09) == +== 17551 passed, 306 skipped, 139 xfailed, 468 warnings in 1170.62s (0:19:30) == ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.12 cachedir: .pytest_cache @@ -67381,7 +67415,7 @@ exposure = np.log(exposure) graphics/tests/test_functional.py: 240 warnings - /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=2481910) 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=2216425) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() nonparametric/tests/test_kernel_density.py::TestKDEMultivariateConditional::test_unordered_CV_LS @@ -67547,7 +67581,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, 468 warnings in 3811.48s (1:03:31) == +== 17551 passed, 306 skipped, 139 xfailed, 468 warnings in 1197.52s (0:19:57) == make[1]: Leaving directory '/build/reproducible-path/statsmodels-0.14.4+dfsg' create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=pybuild @@ -75593,8 +75627,8 @@ 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/facebox.js -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/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 @@ -75634,10 +75668,10 @@ 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-lib' in '../python3-statsmodels-lib_0.14.4+dfsg-1_arm64.deb'. dpkg-deb: building package 'python3-statsmodels-lib-dbgsym' in '../python3-statsmodels-lib-dbgsym_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' 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-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 dpkg-genchanges: info: binary-only upload (no source code included) @@ -75645,12 +75679,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/1367033/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1367033/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/1720421 and its subdirectories -I: Current time: Sat Jan 25 21:20:18 -12 2025 -I: pbuilder-time-stamp: 1737883218 +I: removing directory /srv/workspace/pbuilder/1367033 and its subdirectories +I: Current time: Sun Mar 1 07:13:37 +14 2026 +I: pbuilder-time-stamp: 1772298817