question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FR] External Data Support

See original GitHub issue

What’s the problem this feature will solve?

Project Jupyter uses data_files for discovery of runtime extensions. This feature was deprecated without a viable alternative.

Describe the solution you’d like

The flit project recently added support for external_data, which is a simplified and constrained version of data_files. We could support an equivalent feature in setuptools, with caveats about when it is appropriate to use it.

Alternative Solutions

Project Jupyter and other current consumers of data_files could instead switch to using a flit backend, which we have been actively exploring.

Additional context

Project Jupyter uses data_files to allow libraries to provide shared setting and static assets files that are consumed by Jupyter at runtime. We have explored using entry_points for this purpose, but it did not scale well.

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
blink1073commented, Mar 24, 2022

If there’s buy-in I can take a crack at implementation.

1reaction
blink1073commented, May 6, 2022

Hi @ofek, thanks for pointing that out! The consensus at the summit was that I should draft a PEP to standardize the handling of the data and headers directories for build backends. I will use flit and hatch as existing implementation examples.

As for Jupyter, we could have used flit already (in fact I had a WIP), but many of the consumers of jupyter-packaging are using setuptools-specific mechanisms and extensions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage external data ranges and their properties
Click a cell in the external data range for which you want to change the underlying query. Select Data > Properties. ... In...
Read more >
External Data for Jira Fields
Fetch external data to Jira cloud custom fields by REST API, database, MySQL, Postgres, Salesforce, Azure, Oracle, MSSQL, assets.
Read more >
An Implementer's Guide to External Data Support for ...
5 Getting Started with External Data – Non-Oracle Sources.... ... An Implementer's Guide to External Data Support for Universal Sources.
Read more >
Harnessing the power of external data
A well-structured plan for using external data can provide a competitive ... Meanwhile, a wealth of external data could—and still can—help ...
Read more >
Implementing an external data service
This protocol provides for the communication between Case Manager Client and the external data source. About this task. In addition to implementing the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found