Wykres commitów

2879 Commity (704b91c4f13dae8293baff7c6c24a791f9998c6c)

Autor SHA1 Wiadomość Data
Simon Li 704b91c4f1
set `external-verify` name in test
Co-authored-by: Min RK <benjaminrk@gmail.com>
2025-02-12 13:18:31 +00:00
Simon Li 0186eef20d Add basic UI Playwright tests 2025-02-12 00:14:01 +00:00
Simon Li 95e3adc0c8
Merge pull request #1399 from rgaiacs/1396-update-rstudio
Upgrade RStudio to 2024.12
2025-02-11 19:49:49 +00:00
Simon Li 05501735d1
Merge pull request #1400 from rgaiacs/1384-update-shiny
Upgrade Shiny server to 2024.12
2025-02-11 19:49:21 +00:00
Simon Li a5760555dd
Merge pull request #1407 from yuvipanda/refreeze
Refreeze base environment for package upgrades
2025-02-09 22:41:07 +00:00
YuviPanda 65bc82a39b Refreeze base environment for package upgrades 2025-02-09 13:08:51 -08:00
Raniere Silva 1c1a297127 Upgrade Shiny server to 2024.12 2025-01-27 09:47:34 +01:00
Raniere Silva fa016ea65e Upgrade RStudio to 2024.12 2025-01-27 09:40:33 +01:00
Simon Li dd097a229a
Merge pull request #1384 from yuvipanda/no-warnings
Use self.log.warning instead of warnings.warn
2025-01-03 17:07:29 +00:00
YuviPanda 9d5084a2fe Remove unused imports 2024-12-21 10:52:55 -08:00
Min RK 487e0e5b7c
Merge pull request #1392 from yuvipanda/no-urlopen 2024-12-21 08:51:12 +01:00
YuviPanda 29ee4c314e Re-add warnings usage in one place
This actually seems appropriate
2024-12-20 17:20:24 -08:00
YuviPanda 025277d5a6 Use self.log.warning instead of warnings.warn
warnings.warn sidesteps all the json logging bits we do,
and repo2docker will produce non-json output that binderhub
then struggles to consume.
2024-12-20 17:18:19 -08: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