2 Commits

Author SHA256 Message Date
4d39682021 Accepting request 1296411 from science
OBS-URL: https://build.opensuse.org/request/show/1296411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dynare?expand=0&rev=10
2025-07-30 09:46:10 +00:00
067fd62f72 * Update to version 6.4.
* Drop dynare-sphinx-str-concat.patch: incorporated upstream.
* Minor re-base of dynare-libdir.patch for updated version.

OBS-URL: https://build.opensuse.org/package/show/science/dynare?expand=0&rev=21
2025-07-30 05:40:12 +00:00
8 changed files with 80 additions and 35 deletions

View File

@@ -4,7 +4,7 @@
<param name="url">https://git.dynare.org/Dynare/dynare</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">6.2</param>
<param name="revision">6.4</param>
<param name="filename">dynare</param>
<param name="submodules">enable</param>
</service>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f54308db85c4e8b2b6175da36090b6bcd7737f44ba5d0bd9081b5d9b9d40ce2
size 61428750

3
dynare-6.4.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae93f6941027b6cacc076f23e60657cb261f84087763a9a7efc5d8444e6b88d9
size 61457422

View File

@@ -2,10 +2,10 @@
meson.build | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Index: dynare-6.1/meson.build
Index: dynare-6.4/meson.build
===================================================================
--- dynare-6.1.orig/meson.build
+++ dynare-6.1/meson.build
--- dynare-6.4.orig/meson.build
+++ dynare-6.4/meson.build
@@ -36,19 +36,19 @@ subdir('preprocessor/src')
# NB: the following two symlinks my be improved if this wishlist item is done:
# https://github.com/mesonbuild/meson/issues/11519
@@ -46,12 +46,12 @@ Index: dynare-6.1/meson.build
'link_args' : [ export_link_arg, '-L' + (matlab_path / 'bin' / matlab_arch), '-lmx', '-lmex', '-lmat' ],
'link_depends' : export_file,
'install' : true,
- 'install_dir' : 'lib/dynare/mex/matlab' }
+ 'install_dir' : get_option('libdir') / 'dynare/mex/matlab' }
- 'install_dir' : 'lib/dynare/mex/matlab',
+ 'install_dir' : get_option('libdir') / 'dynare/mex/matlab',
'sources' : [] }
# For unit tests
exe_rpath = matlab_path / 'bin' / matlab_arch
@@ -249,7 +249,7 @@ else # Octave build
@@ -257,7 +257,7 @@ else # Octave build
'c_args' : octave_incflags + octave_defs,
'link_args' : octave_link_args,
'install' : true,

View File

@@ -1,17 +0,0 @@
---
doc/manual/utils/dynare_dom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: dynare-6.2/doc/manual/utils/dynare_dom.py
===================================================================
--- dynare-6.2.orig/doc/manual/utils/dynare_dom.py
+++ dynare-6.2/doc/manual/utils/dynare_dom.py
@@ -97,7 +97,7 @@ class DynObject(ObjectDescription):
self.state_machine.reporter.warning(
'duplicate object description of %s, ' % fullname +
'other instance in ' +
- self.env.doc2path(objects[fullname][0]),line=self.lineno)
+ str(self.env.doc2path(objects[fullname][0])),line=self.lineno)
objects[fullname] = (self.env.docname, self.objtype)
indextext = self.get_index_text(fullname,name_obj)

View File

@@ -1,3 +1,67 @@
-------------------------------------------------------------------
Fri Jul 25 12:39:31 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 6.4:
* Several issues with the
`perfect_foresight_with_expectation_errors` command:
- when used with no `endval`/`endval(learnt_in=1)` block but
an `endval(learnt_in=`t`)` block with t>1, convergence could
fail if homotopy was needed
- combined with `homotopy_marginal_linearization_fallback`, it
would return incorrect results
- it would crash with
`homotopy_marginal_linearization_fallback` option if there
were several distinct `shocks` or `endval` blocks with the
`learnt_in` option
* Using the `model_diagnostics` command with the `bytecode`
option of the `model` block or the `model_options` command
would crash if the static Jacobian was singular
* The `discretionary_policy` command with the `noprint` option
would crash when encountering a problem instead of continuing
* Using the `ramsey_model` command with models declared as
`linear` would crash during preprocessing when there is a
lead/lag greater than 1 on endogenous variables or any
lead/lag on exogenous variables
* Using the `identification` command with the slice sampler
would crash if the `slice_initialize_with_mode` option was
used
* The particle filter option `resampling_method` of the
`estimation` command was broken
* The `output=third` preprocessor option would not work if no
computational commands were present in the `.mod` file
- Changes from version 6.3:
* OccBin with option `smoother_inversion_filter` would crash the
MCMC estimation if the `filtered_variables` or
`filter_step_ahead` options were used
* OccBin with option `smoother_inversion_filter` would use the
PKF if `mh_replic>0`
* OccBin with option `smoothed_state_uncertainty` would crash
Dynare if the MCMC smoother was run after the classical one
* OccBin's smoother would crash when encountering an internal
error due to the output of the linear smoother not having been
computed
* Calling `model_info` with `differentiate_forward_vars` would
crash The `identification` command would compute the
asymptotic Hessian via simulation instead of via moments as
intended
* The `identification` command would crash during prior sampling
if the initial draw did not solve the model
* The `gsa_sample_file` was broken
* Optimization algorithm `mode_compute=5` (`newrat`) would crash
with `analytic_derivation`
* The `discretionary_policy` command would crash if the model
was purely forward-looking
* The `dsample` command would crash
* The `conditional_forecast_paths` block did not accept vector
inputs
* For MCMC chains with fewer than 6000 draws, the default number
of `sub_draws` used to compute posterior moments was incorrect
* Bi-annual dates (e.g. `2024S1` or `2024H1`) were not accepted
within Dynare statements
* Plotting `dseries` did not correctly show dates on the x-axis
- Drop dynare-sphinx-str-concat.patch: incorporated upstream.
- Minor re-base of dynare-libdir.patch for updated version.
-------------------------------------------------------------------
Sun Oct 13 15:22:00 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -1,4 +1,4 @@
name: dynare
version: 6.2
mtime: 1727272351
commit: 02ecd0dae70945cc878d955bfa1fd4e14139c1ee
version: 6.4
mtime: 1750952063
commit: 982f03ce590f97015ea9ce963d342ea25d8ca34c

View File

@@ -1,7 +1,7 @@
#
# spec file for package dynare
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
%bcond_without doc
%endif
Name: dynare
Version: 6.2
Version: 6.4
Release: 0
Summary: A platform for handling a wide class of economic models
License: GPL-3.0-or-later
@@ -33,8 +33,6 @@ URL: https://www.dynare.org/
Source: %{name}-%{version}.tar.zst
# PATCH-FIX-UPSTREAM dynare-libdir.patch badshah400@gmail.com -- Use correct libdir instead of 'lib'
Patch0: dynare-libdir.patch
# PATCH-FIX-UPSTREAM dynare-sphinx-str-concat.patch badshah400@gmail.com -- Fix a path to string concatenation
Patch1: dynare-sphinx-str-concat.patch
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: flex