WIPACrepo / file_catalog

Store file metadata information in a file catalog
MIT License
1 stars 4 forks source link

Keycloak Authentication #138

Closed blinkdog closed 1 year ago

blinkdog commented 1 year ago

File Catalog Auth Update

Closes #111 Closes #135

blinkdog commented 1 year ago

The bot updated requirements.txt and pinned the conflicted requirements to specific versions. suru check may suggest upgrades that can't really be done.

googleapis-common-protos can be upgraded from 1.56.2 to 1.58.0
protobuf can be upgraded from 3.20.3 to 4.21.12
pyjwt can be upgraded from 2.5.0 to 2.6.0
ric-evans commented 1 year ago

The bot updated requirements.txt and pinned the conflicted requirements to specific versions. suru check may suggest upgrades that can't really be done.

googleapis-common-protos can be upgraded from 1.56.2 to 1.58.0
protobuf can be upgraded from 3.20.3 to 4.21.12
pyjwt can be upgraded from 2.5.0 to 2.6.0

ack! protobuf has had conflicting version bumps for a while now... it wouldn't be the worse thing to pin these in setup.cfg. We'll just have to remember to bump them later-- O(months)

dsschult commented 1 year ago

The bot updated requirements.txt and pinned the conflicted requirements to specific versions. suru check may suggest upgrades that can't really be done.

googleapis-common-protos can be upgraded from 1.56.2 to 1.58.0
protobuf can be upgraded from 3.20.3 to 4.21.12
pyjwt can be upgraded from 2.5.0 to 2.6.0

ack! protobuf has had conflicting version bumps for a while now... it wouldn't be the worse thing to pin these in setup.cfg. We'll just have to remember to bump them later-- O(months)

Given that the bot is pretty smart (it knows about pinned dependencies anywhere in the dependency chain), and also checks on every commit, does suru check add any value?

dsschult commented 1 year ago

Note: in many of our projects, we've started doing

pip install .[tests]

in the pytest action, and listing all the test deps in setup.cfg.

This has the advantage that the bot will keep the resulting requirements.txt file up to date, if it is ever needed (it's usually more of a record of what versions passed the CI tests).

dsschult commented 1 year ago

I think this wins largest PR of the year so far :smile:

Nope, IceProd is still winning: https://github.com/WIPACrepo/iceprod/pull/323

blinkdog commented 1 year ago

The bot updated requirements.txt and pinned the conflicted requirements to specific versions. suru check may suggest upgrades that can't really be done.

googleapis-common-protos can be upgraded from 1.56.2 to 1.58.0
protobuf can be upgraded from 3.20.3 to 4.21.12
pyjwt can be upgraded from 2.5.0 to 2.6.0

ack! protobuf has had conflicting version bumps for a while now... it wouldn't be the worse thing to pin these in setup.cfg. We'll just have to remember to bump them later-- O(months)

Given that the bot is pretty smart (it knows about pinned dependencies anywhere in the dependency chain), and also checks on every commit, does suru check add any value?

It's a helper script; it just helps me keep tabs on things. My comment was more of a note-to-self: you can't upgrade these things quite yet.

blinkdog commented 1 year ago

Note: in many of our projects, we've started doing

pip install .[tests]

in the pytest action, and listing all the test deps in setup.cfg.

This has the advantage that the bot will keep the resulting requirements.txt file up to date, if it is ever needed (it's usually more of a record of what versions passed the CI tests).

I've added this as an [options.extras_require] section in setup.cfg and modified the CI and setup scripts. Does that work?

blinkdog commented 1 year ago

I think we got most of the issues cleaned up, except #111 . I'm going to cut bait and work on that tomorrow.

ric-evans commented 1 year ago

Note: in many of our projects, we've started doing

pip install .[tests]

in the pytest action, and listing all the test deps in setup.cfg. This has the advantage that the bot will keep the resulting requirements.txt file up to date, if it is ever needed (it's usually more of a record of what versions passed the CI tests).

I've added this as an [options.extras_require] section in setup.cfg and modified the CI and setup scripts. Does that work?

That's it! It's a smart bot :robot:

ric-evans commented 1 year ago

Nice add! Let's see if this works: closes #111

ric-evans commented 1 year ago

What's the status of this PR?

blinkdog commented 1 year ago

What's the status of this PR?

Ready to merge. I'll probably do so this afternoon.