terrier-org / pyterrier

A Python framework for performing information retrieval experiments, building on http://terrier.org/
https://pyterrier.readthedocs.io/
Mozilla Public License 2.0
420 stars 65 forks source link

jitpack is broken or have moved the snapshot jar file #488

Closed cmacdonald closed 1 month ago

cmacdonald commented 2 months ago

Describe the bug

  File "/Users/craigm/git/pyterrier/pyterrier/terrier/java.py", line 49, in pre_init
    trJar = pt.java.mavenresolver.get_package_jar("com.github.terrier-org.terrier-core", "terrier-assemblies", "5.x-SNAPSHOT", artifact="jar-with-dependencies", force_download=configure['force_download'])
  File "/Users/craigm/git/pyterrier/pyterrier/java/mavenresolver.py", line 121, in get_package_jar
    raise ValueError("Could not fetch " + mvnUrl) from he
ValueError: Could not fetch https://jitpack.io/com/github/terrier-org/terrier-core/terrier-assemblies/5.x-SNAPSHOT/terrier-assemblies-5.x-SNAPSHOT-jar-with-dependencies.jar

To Reproduce

>>> import pyterrier as pt
>>> pt.terrier.set_version('snapshot')
>>> r = pt.terrier.Retriever.from_dataset('vaswani', 'terrier_stemmed')
seanmacavaney commented 2 months ago

Seems like it may have been a one-off issue? It seems to be working again now.