Stream: python

Topic: Switch to pyproject.toml


view this post on Zulip Jan Range (Apr 12 2024 at 07:23):

Hi everyone, I've been working on the switch to pyproject.toml using poetry in #180. Building pyDataverse and tests run well, but some "old" dependencies may be dropped. Those parts of the group lint and docs could especially be shifted toward GitHub actions.

What are your thoughts?

view this post on Zulip Jan Range (Apr 12 2024 at 07:25):

I also wanted to check publishing at Test PyPI, but there already exists a PyDataverse package for which I need access unfortunately. Already contacted Stefan and asked to add @Oliver Bertuch and myself to the package page.

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 12 2024 at 11:47):

Well, I trust you. Docs doesn't sound like a big deal. Switch to a different tool for docs if necessary?

And maybe there's a different linter we can use?

I feel like I'm missing some context. :sweat_smile:

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 12 2024 at 11:47):

Oh and please feel free to add me to the Test PyPI if you like.

view this post on Zulip Jan Range (Apr 12 2024 at 11:48):

That was my thought. We may not need all these doc dependencies anymore. Here is a draft I opened this night to move to mkdocs.

https://github.com/gdcc/pyDataverse/pull/181

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 12 2024 at 11:50):

Ah, great.

view this post on Zulip Jan Range (Apr 12 2024 at 11:52):

And maybe there's a different linter we can use?

Ruff is the new thing all the cool kids use :grinning: I am still on flake8, but happy to move on to sth better

view this post on Zulip Jan Range (May 10 2024 at 10:08):

Dear all, the last PR toward 0.3.2 is now ready for review - https://github.com/gdcc/pyDataverse/pull/180

All checks are running and I've added a new linter into the CI and pre-commit. It would be great if one could take a look at this PR before merging. I've already reviewed it multiple times, but an extra set of eyes is always beneficial :grinning:

Once merged, I will create release notes, and we will have the first release in three years!

view this post on Zulip Philip Durbin ๐Ÿš€ (May 10 2024 at 10:19):

Amazing. Looks good to me!

Do you want additional eyes on the release notes before we publish?

view this post on Zulip Jan Range (May 10 2024 at 10:20):

That would be great :smile: I will create a new topic here to discuss once I have the draft

view this post on Zulip Jan Range (May 10 2024 at 10:33):

TestPyPI check is also up - https://test.pypi.org/project/pyDataverse2/

I had to rename the repository because of missing credentials. However, @Oliver Bertuch has them. I tested it with a different name and will delete it once I have the credentials for my TestPyPI account.

view this post on Zulip Philip Durbin ๐Ÿš€ (May 10 2024 at 10:38):

We have the credentials for the real PyPI, right?

view this post on Zulip Jan Range (May 10 2024 at 10:39):

Yes, these exist. It was just that my username on TestPyPI missed a hyphen, and Stefan couldn't find me. But @Oliver Bertuch has the credentials and can invite me on Test PyPI.

view this post on Zulip Philip Durbin ๐Ÿš€ (May 10 2024 at 10:41):

I see. Only Stefan and Oliver on https://test.pypi.org/project/pyDataverse/ . Please feel free to add me when you can.

view this post on Zulip Philip Durbin ๐Ÿš€ (May 10 2024 at 10:42):

Should I email Stefan and ask him to add you (and me)?

view this post on Zulip Jan Range (May 10 2024 at 12:06):

I have messaged Oliver already to add us. Stefan seems to be pretty busy. I received his reply a month or so later.


Last updated: Nov 01 2025 at 14:11 UTC