Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data/config path entry_points with minimal examples #209

Closed
wants to merge 54 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
1b133b5
add data/config path entry_points, minimal example
bollwyvl Nov 21, 2020
929726b
remove JUPYTER_PATH_ENTRY_POINT from test, since not testing yet
bollwyvl Nov 21, 2020
8a110ef
Make entry point paths come just after the environment-level paths.
jasongrout Mar 4, 2021
7e17498
Add an example of a data file entry point.
jasongrout Mar 4, 2021
357a9b4
Merge pull request #1 from jasongrout/entry-point-demo
bollwyvl Mar 4, 2021
5f6bf67
Merge remote-tracking branch 'upstream/master' into entry-point-demo
bollwyvl Mar 4, 2021
ac3d218
Merge remote-tracking branch 'origin/entry-point-demo' into entry-poi…
bollwyvl Mar 4, 2021
1913537
add flit example
bollwyvl Mar 4, 2021
b88bb49
flatten flit example
bollwyvl Mar 4, 2021
cfe2aa1
try more flit conf
bollwyvl Mar 4, 2021
709ddf1
try more flit conf
bollwyvl Mar 4, 2021
f8fded8
more clean up
bollwyvl Mar 4, 2021
b26db46
clean up docs
bollwyvl Mar 4, 2021
308086c
more docs changelog
bollwyvl Mar 4, 2021
5fbe543
add tests
bollwyvl Mar 4, 2021
5044183
flesh out development options
bollwyvl Mar 4, 2021
f3c4ee5
working on ci
bollwyvl Mar 4, 2021
1faf4ab
clean up ci test
bollwyvl Mar 4, 2021
cd9ab14
more work on ci
bollwyvl Mar 4, 2021
d95e9ee
just deal with ubunut-latest warn for now
bollwyvl Mar 4, 2021
1293714
fix pypy excursion
bollwyvl Mar 4, 2021
ebf260c
fix linux name
bollwyvl Mar 4, 2021
41e206b
use subshell to get dist
bollwyvl Mar 4, 2021
596e470
pyargs doesn't take a value
bollwyvl Mar 4, 2021
2615f90
clean up ci file
bollwyvl Mar 4, 2021
2235c95
add pytest-cov
bollwyvl Mar 4, 2021
5d769d5
defer codecov
bollwyvl Mar 4, 2021
73f983e
run tests in dist folder
bollwyvl Mar 4, 2021
ecc2250
fix entry_point check
bollwyvl Mar 4, 2021
115337d
fix install from dist
bollwyvl Mar 4, 2021
65f1d9d
fix path to reqs file
bollwyvl Mar 4, 2021
30731c5
install tarball separatly
bollwyvl Mar 4, 2021
02a88ce
fix dangling slash
bollwyvl Mar 4, 2021
22ae57c
no - in sdist
bollwyvl Mar 4, 2021
0f4fb83
install flit package with pth option
bollwyvl Mar 4, 2021
4365f5a
fix flit entry point
bollwyvl Mar 4, 2021
e55ee6a
even simpler
bollwyvl Mar 4, 2021
38e3acd
windows paths
bollwyvl Mar 4, 2021
b5dd3e0
compare relative indices in path tests
bollwyvl Mar 5, 2021
05f77bd
add strategies for loading entry_points
bollwyvl Mar 7, 2021
21d0d75
fix flit test path
bollwyvl Mar 7, 2021
e0ba422
actually fix flit path
bollwyvl Mar 7, 2021
bd609f0
add importlib_metadata entry_point finder
bollwyvl Mar 9, 2021
5c006a3
start making entry_point targets a singleton
bollwyvl Mar 9, 2021
ba1f9eb
rework tests
bollwyvl Mar 9, 2021
442ebc2
Merge remote-tracking branch 'upstream/master' into entry-point-demo
bollwyvl Mar 9, 2021
bcf84aa
more cleanup of tests
bollwyvl Mar 9, 2021
0b233f6
some more docs around test quirks
bollwyvl Mar 9, 2021
fbc118e
start importlib_resources
bollwyvl Mar 9, 2021
fd0d42d
adjust paths to make sorta worth with importlib_resources
bollwyvl Mar 9, 2021
9c48670
add some strategy excursions to tests
bollwyvl Mar 9, 2021
06fa870
handle case when no entry_points are installed
bollwyvl Mar 9, 2021
4d4cafd
fix importlib_metadata finder
bollwyvl Mar 9, 2021
6fc1651
roll back to just entrypoints, single-path-per-entry-point
bollwyvl Mar 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more docs changelog
bollwyvl committed Mar 4, 2021
commit 308086c15e9be3665eaa780b04ae7d5f1ee0e6de
2 changes: 1 addition & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ GitHub <https://github.com/jupyter/jupyter_core/releases/tag/4.8.0>`__
- Add new ``jupyter_data_paths`` and ``jupyter_config_paths`` ``entry_points``
(:ghpull:`209`) to allow python packages to extend the data and config paths
in ``jupyter --paths``. These paths are considered immediately after those put
in-place with ``data_files`` but work with modern packaging tools.
in-place with ``data_files``, but work with modern python packaging tools.

4.7
---