Skip to content

Bump openelectricity from 0.10.1 to 0.11.3#34

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/openelectricity-0.11.3
Open

Bump openelectricity from 0.10.1 to 0.11.3#34
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/openelectricity-0.11.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 20, 2026

Copy link
Copy Markdown
Contributor

Bumps openelectricity from 0.10.1 to 0.11.3.

Release notes

Sourced from openelectricity's releases.

v0.11.2

Fixes

  • AsyncOEClient.get_market now accepts network_region to match OEClient.get_market. Async users can now apply the same market region filter sync users can. (#35)
  • TimeSeriesColumns now exposes fueltech and renewable, so secondary_grouping='fueltech' and secondary_grouping='renewable' no longer silently drop the grouping value. (#34)

Other

  • Added a signature-parity test across the shared sync/async public surface (get_facilities, get_network_data, get_facility_data, get_market, get_current_user, __init__). Would have caught both this release's network_region drift and the original v0.11.0 unit_code drift.

v0.11.1

Fixes

  • Removed DataMetric.RENEWABLE_PROPORTION from the SDK. renewable_proportion is a market-level metric and only works via get_market with MarketMetric.RENEWABLE_PROPORTION (shipped in v0.11.0). The DataMetric value returned 400s on prod and confused users. (#18, #33)

Upgrade

# before (returned 400)
client.get_network_data(metrics=[DataMetric.RENEWABLE_PROPORTION], ...)
after
client.get_market(metrics=[MarketMetric.RENEWABLE_PROPORTION], ...)

v0.11.0

Features

  • Proxy + TLS/cert support on OEClient / AsyncOEClient — new keyword-only options proxy, proxy_auth, ssl_context, ca_cert, verify_ssl, trust_env. Session creation centralised in one factory. (#22, #29)
  • 9 new MarketMetric values: DEMAND_GROSS, DEMAND_GROSS_ENERGY, GENERATION_RENEWABLE, GENERATION_RENEWABLE_ENERGY, GENERATION_RENEWABLE_WITH_STORAGE, GENERATION_RENEWABLE_WITH_STORAGE_ENERGY, RENEWABLE_PROPORTION, RENEWABLE_WITH_STORAGE_PROPORTION, HYDRO_AND_STORAGE. (#31)

Fixes

  • Sync OEClient is now safe to use inside an existing event loop, including Jupyter / IPython notebooks. (#16, #32)
  • unit_code added to AsyncOEClient.get_facility_data to match the sync client. (#27)
  • Genuine Python 3.10 support restored — enum.StrEnum and datetime.UTC backports for 3.10. (#28)
  • OEClient.get_current_user() no longer fails validation against the /v4/me response shape. (#20)

Other

  • CI test matrix across Python 3.10 / 3.11 / 3.12 / 3.13 plus a ruff lint job. (#30)
  • Ruff target-version aligned to py310 so lint stops suggesting py3.12-only generics.
Changelog

Sourced from openelectricity's changelog.

0.11.3

Added

  • get_facility_data now raises OpenElectricityError client-side when facility_code or unit_code lists exceed the API's per-request cap (30), with a message naming the param and the limit. Avoids a round-trip + the server-side 422 payload. Docstrings updated to document the cap. (#10, #36)

Fixed

  • DNS resolution now uses the OS resolver (ThreadedResolver/getaddrinfo) instead of aiodns. The aiohttp[speedups] extra installs aiodns, which made aiohttp default to the c-ares AsyncResolver. c-ares resolves DNS independently of the OS stub resolver and failed with aiodns.error.DNSError (11, 'Could not contact DNS servers') in environments where the OS resolver (and nslookup) work fine — Windows ProactorEventLoop, WSL/containers pointing at 127.0.0.53, split-DNS VPNs. The connector is now pinned to ThreadedResolver.

0.11.2

Bug fixes surfaced by the v0.11.1 end-to-end review.

Fixed

  • AsyncOEClient.get_market now accepts network_region to match the sync OEClient.get_market. Async users can apply the same market region filter as sync users. (#35)
  • TimeSeriesColumns now exposes fueltech and renewable, so secondary_grouping='fueltech' and secondary_grouping='renewable' no longer silently drop the grouping value on parse. (#34)

CI

  • New parametrised signature-parity test across the shared OEClient / AsyncOEClient public surface (__init__, get_facilities, get_network_data, get_facility_data, get_market, get_current_user). Would have caught both this release's network_region drift and the original v0.11.0 unit_code drift.

0.11.1

Fixed

  • Removed DataMetric.RENEWABLE_PROPORTION. renewable_proportion is a market-level metric and only works via get_market with MarketMetric.RENEWABLE_PROPORTION (shipped in 0.11.0). The DataMetric value returned 400s on prod and confused users. (#18, #33)

... (truncated)

Commits
  • a3cc091 build(ci): add windows + macos to test matrix
  • c38be63 fix(client): use OS resolver instead of aiodns
  • 41441f9 docs(readme): fix broken logo link, serve from docs site
  • 356ba4e chrore(ignore): ignore env
  • f3ca184 docs(readme): link to CHANGELOG.md
  • e324e38 docs: add CHANGELOG.md
  • 37d43a5 feat(client): pre-flight 30-facility limit check + clearer docstrings (#10)
  • b1c4f8c Bump version to 0.11.2
  • 93721ed fix(client): add network_region to async get_market + signature-parity test
  • 4205f32 feat(models): expose fueltech and renewable columns on TimeSeriesColumns
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [openelectricity](https://github.com/opennem/openelectricity-python) from 0.10.1 to 0.11.3.
- [Release notes](https://github.com/opennem/openelectricity-python/releases)
- [Changelog](https://github.com/opennem/openelectricity-python/blob/main/CHANGELOG.md)
- [Commits](opennem/openelectricity-python@v0.10.1...v0.11.3)

---
updated-dependencies:
- dependency-name: openelectricity
  dependency-version: 0.11.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 20, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: python. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 20, 2026
@dependabot dependabot Bot requested a review from ymiftah as a code owner June 20, 2026 17:22
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants