Skip to content

Commit

Permalink
Add #207, #205 to doc/whatsnew
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Nov 12, 2024
1 parent 1ea3364 commit 87893de
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions doc/sources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@ Website `(en) <https://www.insee.fr/en/information/2868055>`__,
`(fr) <https://www.insee.fr/fr/information/2862759>`__

- French name: Institut national de la statistique et des études économiques.
- Known issue(s) with this data source:

- :issue:`205`: as of 2024-11-12 some structures, for instance ``urn:sdmx:…DataStructure=FR1:CNA-2014-PIB(1.0)``, include :attr:`~.Component.concept_identity` references that do not exist, for instance ``urn:sdmx:…Concept=FR1:CONCEPTS_INSEE(1.0).TIME_PERIOD`` and ``urn:sdmx:…Concept=FR1:CONCEPTS_INSEE(1.0).OBS_VALUE``.
From :ref:`v2.20.0 <2.20.0>`, :mod:`.reader.xml.v21` discards such invalid references, leaving :py:`.concept_identity = None`.

.. autoclass:: sdmx.source.insee.Source()
:members:
Expand Down
14 changes: 11 additions & 3 deletions doc/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@
What's new?
***********

.. Next release
.. ============
.. _2.20.0:

Next release
============

- Improve tolerance of invalid references in SDMX-ML (:pull:`207`; thanks :gh-user:`nicolas-graves` for :issue:`205`).
Where a file gives a reference for a :attr:`.Component.concept_identity` (such as for a :class:`.Dimension` or :class:`.PrimaryMeasure`) that is invalid—that is, the specified :class:`.Concept` does not exist in the referenced :class:`.ConceptScheme`—log on level :data:`logging.WARNING` and discard the reference.
Previously such invalid references caused a :class:`KeyError`.
Prompted by an example in :ref:`INSEE <INSEE>`.
- Update the base URL of the :ref:`WB <WB>` source to use HTTPS instead of plain HTTP (:pull:`207`).

v2.19.1 (2024-10-23)
====================
Expand Down Expand Up @@ -36,7 +44,7 @@ v2.17.0 (2024-09-03)
- :class:`.XHTMLAttributeValue` contents are stored as :mod:`lxml.etree` nodes.
- MetadataStructureDefinition is included when writing :class:`.StructureMessage`.

- Update base url for :ref:`WB_WDI` source to use HTTPS instead of plain HTTP (:issue:`191`, :pull:`192`).
- Update the base url of the :ref:`WB_WDI <WB_WDI>` source to use HTTPS instead of plain HTTP (:issue:`191`, :pull:`192`).
- Improvements to :mod:`.reader.xml` and :mod:`.reader.xml.v21` (:pull:`192`).

- Correctly associate :class:`.Item` in :class:`.ItemScheme` with its parent, even if the parent is defined after the child (“forward reference”).
Expand Down

0 comments on commit 87893de

Please sign in to comment.