Skip to content

Update basemap to v1.3.1#4

Merged
ScottBailey merged 15 commits into
masterfrom
sb_update_v1.3.1
Feb 17, 2022
Merged

Update basemap to v1.3.1#4
ScottBailey merged 15 commits into
masterfrom
sb_update_v1.3.1

Conversation

@ScottBailey
Copy link
Copy Markdown

@ScottBailey ScottBailey commented Feb 10, 2022

Changes

  • Update from 1.2.2 to 1.3.1.
  • Consolidate basemap-data-hires-feedstock into this recipe.
  • Break existing basemap package into 2: the executable (basemap) and the standard resolution data (basemap-data).
  • Bring basemap-data and basemap-data-hires data contents to parity with upstream packaging.
    • This also removes the packaging workaround for data.
    • Data moves from our workaround location to site-data.
    • Patches simplified since data is now in the default location.
  • Fix patch.
  • Update pins.
  • Remove proj from dependencies.
  • Skip win32, missing dependencies and not expecting they will be updated.

NOTE: linux-s390x architecture fails due to missing dependencies.

Review Info

Changes

https://github.com/matplotlib/basemap/blob/v1.3.1/CHANGELOG.md

2 important items:

  • python 3.10 support
  • reorganization of code and packaging

Issues

https://github.com/matplotlib/basemap/issues

There are plenty of issues, but I dont' see any obvious regressions that affect us.

v1.3.2

https://github.com/matplotlib/basemap/blob/v1.3.2/CHANGELOG.md

As I am preparing this PR, I noticed v1.3.2 was released. The biggest
issue is a CVE https://nvd.nist.gov/vuln/detail/CVE-2021-33430 that is
disputed. Secondary changes keep v1.3.2 from building without
significant additional work.
Pinning numpy >=1.21 resolves the CVE
issue. Unfortunately, numpy 1.21 is not available for linux-ppc64le.

Pins

https://github.com/pyproj4/pyproj/blob/48d922ad57316eab45d15ccfe41595c1e5e97039/setup.cfg#L38
pyproj dependency requires py>=3.8

https://github.com/matplotlib/basemap/blob/v1.3.2/packages/basemap/requirements.txt
numpy, matplotlib, pyproj, pyshp

Clossing Comments

The CVE is a MUCH bigger issue than this package and will need to be
handled repo wide if it is indeed valid.

Basic testing works.

Scott Bailey added 12 commits February 10, 2022 12:46
- Update from `1.2.2` to `1.3.1`.
- Consolidate `basemap-data-hires-feedstock` into this recipe.
- Break existing `basemap` package into 2: the executable (`basemap`) and the standard resolution data (`basemap-data`).
- Bring `basemap-data` and `basemap-data-hires` data contents to parity with upstream packaging.
  - This also removes the packaging workaround for data.
  - Data moves from our workaround location to site-data.
  - Patches simplified since data is now in the default location.
- Fix patch.
- Update pins.
Comment thread recipe/meta.yaml Outdated
Comment thread recipe/meta.yaml Outdated
Comment thread recipe/meta.yaml Outdated
Comment thread recipe/meta.yaml
- python
- {{ pin_compatible('numpy') }}
- {{ pin_compatible('geos') }}
- matplotlib-base >=1.5,!=3.0.1
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pinning is different around numpy. I've pinned to the v1.3.2 requirements.

Comment thread recipe/meta.yaml
Comment thread recipe/meta.yaml
Comment thread recipe/meta.yaml Outdated
@ScottBailey ScottBailey reopened this Feb 16, 2022
@ScottBailey ScottBailey reopened this Feb 16, 2022
@varlackc varlackc changed the title Update to v1.3.1 Update basemap to v1.3.1 Feb 16, 2022
@varlackc varlackc self-requested a review February 16, 2022 23:20
Copy link
Copy Markdown

@varlackc varlackc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@varlackc varlackc self-requested a review February 16, 2022 23:25
Copy link
Copy Markdown

@varlackc varlackc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ScottBailey ScottBailey merged commit d5d5c3c into master Feb 17, 2022
@ScottBailey ScottBailey deleted the sb_update_v1.3.1 branch February 17, 2022 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants