Min RK
487e0e5b7c
Merge pull request #1392 from yuvipanda/no-urlopen
2024-12-21 08:51:12 +01:00
pre-commit-ci[bot]
0305dabdb6
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-12-20 23:52:58 +00:00
YuviPanda
e463ca9dab
Remove unused _urlopen method
...
This was never used anywhere, and actually didn't even import -
'request' is actually urllib.request, not requests. It
was never imported but used here!
2024-12-20 15:52:41 -08:00
Min RK
b7c151536d
Merge pull request #1390 from yuvipanda/use-api
...
Use REST APIs to resolve DOIs + cleanup dataverse provider
2024-12-20 08:41:25 +01:00
YuviPanda
e48f5b773e
Switch back to using DOI as persistent_id
2024-12-19 12:08:10 -08:00
YuviPanda
60c0d70f37
Fix doi provider test
...
We no longer follow redirects, so this is the canonical
URL
2024-12-17 13:10:54 -08:00
YuviPanda
3be6ca99c2
Fix zenodo tests
2024-12-17 12:58:01 -08:00
YuviPanda
f7dfff1876
Fix hydroshare tests
2024-12-17 12:56:36 -08:00
YuviPanda
d71efb892d
Fix figshare unit test
2024-12-17 12:53:13 -08:00
Yuvi Panda
f4d58dcd2f
Describe what kind of DOI is being returned
...
Co-authored-by: Philip Durbin <philipdurbin@gmail.com>
2024-12-17 11:54:10 -08:00
YuviPanda
53fba84e18
Add note about supporting /citation
2024-12-17 11:53:01 -08:00
pre-commit-ci[bot]
f9e3d706db
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-12-17 19:51:31 +00:00
YuviPanda
b854b77be5
Fix tests
2024-12-17 11:50:10 -08:00
pre-commit-ci[bot]
f6037cab74
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-12-17 17:31:19 +00:00
YuviPanda
fda5339bd4
Use hash for content_id
2024-12-17 09:30:59 -08:00
YuviPanda
96057f9821
Use List from typing
2024-12-17 09:30:53 -08:00
YuviPanda
fde74efc2e
Fix content_id for dataverse URLs
2024-12-17 09:14:32 -08:00
YuviPanda
b7050ba096
Always fetch entire dataset for dataverse
2024-12-16 19:55:23 -08:00
YuviPanda
1260a5a394
Support fetcing single files in dataverse
2024-12-16 17:02:25 -08:00
YuviPanda
172f8b017d
[WIP] Cleanup dataverse contentprovider
2024-12-16 16:05:30 -08:00
YuviPanda
3eab292ed6
Merge branch 'integ' into use-api
2024-12-16 15:04:12 -08:00
YuviPanda
bf40856c83
Fix text fixtures
2024-12-16 15:02:00 -08:00
YuviPanda
52eeb8f161
Stop mocking dataverse contentprovider test
...
As I was debugging https://github.com/jupyterhub/repo2docker/pull/1388 ,
I realized that PR actually broke the dataverse provider, but the
existing test was mocking so much that we didn't actually catch it!
IMO, since the point of contentproviders is to integrate with
external content providers, they should be integration tests so we
can catch issues with them more easily. Integration tests would have
caught https://jupyter.zulipchat.com/#narrow/channel/103349-ask-anything/topic/Binder.20Dataverse.20error
more cleanly than how it happened for example.
This PR removes all mocks from the dataverse test, and we immediately
benefit - it shows us that the dataverse provider *only* actually
handles DOIs, and not direct URLs! So even though we technically
had tests earlier that showed our dataverse provider supporting direct
dataverse URLs, it simply was not true. So we actually catch the
failure.
I will try to see if we can use a demo or test instance for the
fetch test though, so we don't screw up download stats even more
for the existing test doi we use.
2024-12-16 14:51:39 -08:00
YuviPanda
91242e5150
Use the doi.org API to resolve URLs
2024-12-16 12:53:34 -08:00
Yuvi Panda
f0b1c0c0df
Merge pull request #1387 from JohanMabille/micromamba-2.0.5
...
Upgraded to micromamba 2.0.5
2024-12-14 10:23:08 -08:00
Johan Mabille
f41329fb30
Upgraded to micromamba 2.0.5
2024-12-13 14:06:36 +01:00
Georgiana
8862732574
Merge pull request #1376 from fonsp/patch-2
...
julia_project.py: fix Pkg REPL api warning
2024-12-03 13:01:16 +02:00
Min RK
08e227a72d
Merge pull request #1381 from jupyterhub/dependabot/github_actions/codecov/codecov-action-5
...
build(deps): bump codecov/codecov-action from 4 to 5
2024-12-02 08:56:26 +01:00
dependabot[bot]
504367f4fa
build(deps): bump codecov/codecov-action from 4 to 5
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-01 05:28:56 +00:00
Simon Li
f77a7d9fb2
Merge pull request #1380 from minrk/close_handlers
...
call close_handlers before garbage collection
2024-11-28 14:03:16 +00:00
Min RK
4b33d0f395
call close_handlers before garbage collection
...
avoids bug when this is called by `Application.__del__`
2024-11-28 13:35:09 +01:00
Simon Li
8a6eb6b19e
Merge pull request #1378 from yuvipanda/dual-log
...
Use self.log rather than logging module directly
2024-11-27 10:08:00 +00:00
YuviPanda
f4fac2587d
Use self.log rather than logging module directly
...
Using logging.info or .debug directly sets up the root logger,
and after that call every single message is duplicated! This
showed up only when using the dataverse provider.
With this, no messages are duplicated
2024-11-26 14:24:21 -08:00
Min RK
397788473b
Merge pull request #1377 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-11-06 09:29:32 +01:00
pre-commit-ci[bot]
70d3410257
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v3.17.0 → v3.19.0](https://github.com/asottile/pyupgrade/compare/v3.17.0...v3.19.0 )
- [github.com/psf/black: 24.8.0 → 24.10.0](https://github.com/psf/black/compare/24.8.0...24.10.0 )
2024-11-04 23:16:03 +00:00
Fons van der Plas
15939084dc
julia_project.py: fix Pkg REPL api warning
2024-10-28 12:26:39 +01:00
Min RK
239c4f57f5
Merge pull request #1371 from manics/tarfile-not-recursive
...
TarFile.add: don't add recursively
2024-09-16 00:00:01 -07:00
Simon Li
4302a97628
Merge pull request #1363 from minrk/nb7
...
notebook 7
2024-09-15 19:13:45 +01:00
Simon Li
36670f3ef4
tar: don't add recursively
...
files and directories are already listed individually, recursive causes duplicate files to be added
2024-09-15 16:28:06 +01:00
Simon Li
bf618ef2d5
Merge pull request #1370 from SylvainCorlay/mamba-1.5.9
...
Update to mamba 1.5.9
2024-08-31 23:18:50 +01:00
Sylvain Corlay
0fb8d0cee6
Update to mamba 1.5.9
2024-08-31 23:09:54 +02:00
Min RK
a90202fcaf
refreeze
2024-08-29 09:08:59 +02:00
Min RK
6198fd5cf5
Sync with main
2024-08-29 09:01:02 +02:00
Min RK
cb5c51753d
Merge pull request #1369 from manics/refreeze
...
Refreeze conda packages (JupyterLab 4.2.3 -> 4.2.5)
2024-08-29 00:00:14 -07:00
Simon Li
33157aae23
py35-binder-dir: pin libgfortran
2024-08-29 00:14:09 +01:00
Simon Li
3731c1c0ad
Refreeze
2024-08-28 20:57:47 +01:00
Simon Li
125ee3a313
Merge pull request #1367 from jjerphan/update-mamba-1.5.8
...
Update for mamba 1.5.8
2024-08-21 17:15:19 +01:00
Julien Jerphanion
e3db623148
Update for mamba 1.5.8
...
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-08-21 15:57:20 +02:00
Min RK
a61ec54267
Merge pull request #1365 from minrk/disallow-defaults
...
exclude defaults channel by default
2024-08-19 10:51:47 +02:00
Min RK
288074d88a
channel priority resolves downgrade a little differently
2024-08-16 13:23:13 +02:00