Skip to content

upgrade from pyDataverse 0.2.1 to 0.3.3#44

Closed
pdurbin wants to merge 4 commits intomasterfrom
43-modern-pydataverse
Closed

upgrade from pyDataverse 0.2.1 to 0.3.3#44
pdurbin wants to merge 4 commits intomasterfrom
43-modern-pydataverse

Conversation

@pdurbin
Copy link
Member

@pdurbin pdurbin commented May 10, 2024

A draft PR for now because of this error:

$ python create_sample_data.py 
Using API token from config file.
Traceback (most recent call last):
  File "/Users/pdurbin/github/iqss/dataverse-sample-data/create_sample_data.py", line 17, in <module>
    print(api.status)
          ^^^^^^^^^^
AttributeError: 'Api' object has no attribute 'status'

Here's a handy link to line 17:

Also add `requests` because it was pulled in as a transitive dependency
previously.
@jp-tosca
Copy link
Contributor

It is working for me in Python 3.12.2:

image

image

@jp-tosca
Copy link
Contributor

@pdurbin pointed to me that I was still using the old version despite me being on the right branch, this is after checking that I was on pyDV 0.3.2

image

No status on the payload

@jp-tosca
Copy link
Contributor

@pdurbin solved this by using api.get_info_version() just in case someone comes here looking for an answer 😆

@pdurbin
Copy link
Member Author

pdurbin commented Jul 17, 2024

@JR-1991 @donsizemore and I just discussed this issue during a pyDatavese meeting. Now that this PR has been merged...

... it should just be a matter of upgrading this PR to use 0.3.3.

@pdurbin pdurbin changed the title upgrade from pyDataverse 0.2.1 to 0.3.2 upgrade from pyDataverse 0.2.1 to 0.3.3 Jul 17, 2024
@pdurbin
Copy link
Member Author

pdurbin commented Oct 30, 2025

Closing in favor of this PR:

@pdurbin pdurbin closed this Oct 30, 2025
@pdurbin pdurbin deleted the 43-modern-pydataverse branch October 30, 2025 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

upgrade to modern pyDataverse (0.3.2+)

2 participants