!jiuwgDGkuoWhETTJtM:matrix.org

pykeepass

27 Members
pykeepass and friends6 Servers

Load older messages


SenderMessageTime
31 Dec 2023
@Evidlo:matrix.orgevidloI'd like to not drop those if possible00:00:29
4 Jan 2024
@OR:matrix.orgOvsyanka evidlo: I am just wondering - does something bothering you about my PR or you just didn't have time to approve/decline it? I mean, if you have some doubts or questions, maybe I could help you? 23:19:44
@OR:matrix.orgOvsyanka * evidlo: I am just wondering - does something bothering you about my PR or you just didn't have time to approve/decline it? I mean, if you have some doubts or questions, maybe I could help you with that? 23:20:07
5 Jan 2024
@Evidlo:matrix.orgevidloI've been busy travelling the last few daya03:51:09
10 Jan 2024
@sagiger:phys.ethz.chklanglicht joined the room.13:59:32
11 Jan 2024
@Evidlo:matrix.orgevidlo Ovsyanka: there was an existing PR for a pyproject.toml (https://github.com/libkeepass/pykeepass/pull/348) 04:23:41
@Evidlo:matrix.orgevidloI'm going to merge that one in before yours because I feel bad about closing a PR that I let sit for too long04:24:12
@OR:matrix.orgOvsyanka
In reply to @Evidlo:matrix.org
I'm going to merge that one in before yours because I feel bad about closing a PR that I let sit for too long
Ahah, I was wondering indeed why did you do that. I understand your feelings. So, the question is - do you like my PR as it is or would you like to change something? Particulary - are you ok with using poetry? If so - I can rebase it on the new master. If no - then let's discuss which parts of it you like and with you don't
18:58:51
@OR:matrix.orgOvsyanka
In reply to @Evidlo:matrix.org
I'm going to merge that one in before yours because I feel bad about closing a PR that I let sit for too long
* I see. I was wondering indeed why did you do that. I understand your feelings =)
So, the question is - do you like my PR as it is or would you like to change something? Particulary - are you ok with using poetry? If so - I can rebase it on the new master. If no - then let's discuss which parts of it you like and with you don't
19:02:09
@Evidlo:matrix.orgevidlo Ovsyanka: I'm still on 100% about Poetry. Version lockfiles are nice, but I want installation/tests to work with regular setuptools 22:56:21
@Evidlo:matrix.orgevidloMostly because I'm the only one who will be generating lockfiles and publishing builds, but other contributors who might not be familiar with poetry will still install and run tests22:57:19
@Evidlo:matrix.orgevidlo * Ovsyanka: I'm still not 100% sure about Poetry. Version lockfiles are nice, but I want installation/tests to work with regular setuptools 22:57:46
12 Jan 2024
@OR:matrix.orgOvsyanka

As I understand, setuptools is only about building packages and for the dependency management and isolation you have to use other tools like venv, pip, pipenv, etc.
In my opinion it is more convenient to use poetry (or maybe PDM) for that especially because they gives you additional things, like lock files, speed improvements (https://dev.to/frostming/a-review-pipenv-vs-poetry-vs-pdm-39b4) and better dependency resolutions.

For me personally (as a beginner python developer) it was simpler to just create pyproject file and use poetry than figuring alternative ways to install and manage dependencies in your library. I believe it could be the same for other newcomers.

using poetry is as simple as that:

  1. install poetry itself
  2. poetry install to install the deps in the automatically created venv
  3. poetry run ... whatever you need to run tin the venv (or poetry shell and then run that in the activated venv without prefix)

I don't see steep learning curve here.

In a nutshell, if that's isn't valuable for you - it is OK, it is your choice, just decline my PR plz, so it wouldn't hang there.

Alternatively, I could change it to use PDM instead of poetry. It is complaint with PEP 517 (A build-system independent format for source trees). I am not sure yet, but I suppose you can use just pip to install the dependencies from the pyproject file and don't need to install PDM for that purpose. Ofc. you wouldn't use the lock file in that case.

13:27:50
@OR:matrix.orgOvsyanka *

As I understand, setuptools is only about building packages and for the dependency management and isolation you have to use other tools like venv, pip, pipenv, etc.
In my opinion it is more convenient to use poetry (or maybe PDM) for that especially because they gives you additional things, like lock files, speed improvements (https://dev.to/frostming/a-review-pipenv-vs-poetry-vs-pdm-39b4) and better dependency resolutions.

For me personally (as a beginner python developer) it was simpler to just create pyproject file and use poetry than figuring alternative ways to install and manage dependencies in your library. I believe it could be the same for other newcomers.

using poetry is as simple as that:

  1. install poetry itself
  2. poetry install to install the deps in the automatically created venv
  3. poetry run ... whatever you need to run tin the venv (or poetry shell and then run that in the activated venv without prefix)

I don't see steep learning curve here.

In a nutshell, if that's isn't valuable for you - it is OK, it is your choice, just decline my PR plz, so it wouldn't hang there.

Alternatively, I could change it to use PDM instead of poetry. It is complaint with PEP 517 (A build-system independent format for source trees). I am not sure yet, but I suppose you can use just pip to install the dependencies from the pyproject file and don't need to install PDM for that purpose. Ofc. you wouldn't use the lock file in that case.

13:28:12
@OR:matrix.orgOvsyanka And it would be valuable in either case to write a contribution guide, should it be pip/venv, poetry or PDM. At this moment there is only the command to run tests and there is no description how to make venv and install the dependencies. 13:31:20
@OR:matrix.orgOvsyanka *

As I understand, setuptools is only about building packages. For the dependency management and isolation you have to use other tools like venv, pip, pipenv, etc.
In my opinion it is more convenient to use poetry (or maybe PDM) for that especially because they gives you additional things, like lock files, speed improvements (https://dev.to/frostming/a-review-pipenv-vs-poetry-vs-pdm-39b4) and better dependency resolutions.

For me personally (as a beginner python developer) it was simpler to just create pyproject file and use poetry than figuring alternative ways to install and manage dependencies in your library. I believe it could be the same for other newcomers.

using poetry is as simple as that:

  1. install poetry itself
  2. poetry install to install the deps in the automatically created venv
  3. poetry run ... whatever you need to run tin the venv (or poetry shell and then run that in the activated venv without prefix)

I don't see steep learning curve here.

In a nutshell, if that's isn't valuable for you - it is OK, it is your choice, just decline my PR plz, so it wouldn't hang there.

Alternatively, I could change it to use PDM instead of poetry. It is complaint with PEP 517 (A build-system independent format for source trees). I am not sure yet, but I suppose you can use just pip to install the dependencies from the pyproject file and don't need to install PDM for that purpose. Ofc. you wouldn't use the lock file in that case.

13:32:03
@OR:matrix.orgOvsyanka *

As I understand, setuptools is only about building packages. For the dependency management and isolation you have to use other tools like venv, pip, pipenv, pipx, etc.
In my opinion it is more convenient to use poetry (or maybe PDM) for that especially because they gives you additional things, like lock files, speed improvements (https://dev.to/frostming/a-review-pipenv-vs-poetry-vs-pdm-39b4) and better dependency resolutions.

For me personally (as a beginner python developer) it was simpler to just create pyproject file and use poetry than figuring alternative ways to install and manage dependencies in your library. I believe it could be the same for other newcomers.

using poetry is as simple as that:

  1. install poetry itself
  2. poetry install to install the deps in the automatically created venv
  3. poetry run ... whatever you need to run tin the venv (or poetry shell and then run that in the activated venv without prefix)

I don't see steep learning curve here.

In a nutshell, if that's isn't valuable for you - it is OK, it is your choice, just decline my PR plz, so it wouldn't hang there.

Alternatively, I could change it to use PDM instead of poetry. It is complaint with PEP 517 (A build-system independent format for source trees). I am not sure yet, but I suppose you can use just pip to install the dependencies from the pyproject file and don't need to install PDM for that purpose. Ofc. you wouldn't use the lock file in that case.

13:33:23
@OR:matrix.orgOvsyanka *

As I understand, setuptools is only about building packages. For the dependency management and isolation you have to use other tools like venv, pip, pipenv, pipx, etc.
In my opinion it is more convenient to use just one tool for that (poetry or maybe PDM) especially because they gives you additional things, like lock files, speed improvements (https://dev.to/frostming/a-review-pipenv-vs-poetry-vs-pdm-39b4) and better dependency resolutions.

For me personally (as a beginner python developer) it was simpler to just create pyproject file and use poetry than figuring alternative ways to install and manage dependencies in your library. I believe it could be the same for other newcomers.

using poetry is as simple as that:

  1. install poetry itself
  2. poetry install to install the deps in the automatically created venv
  3. poetry run ... whatever you need to run tin the venv (or poetry shell and then run that in the activated venv without prefix)

I don't see steep learning curve here.

In a nutshell, if that's isn't valuable for you - it is OK, it is your choice, just decline my PR plz, so it wouldn't hang there.

Alternatively, I could change it to use PDM instead of poetry. It is complaint with PEP 517 (A build-system independent format for source trees). I am not sure yet, but I suppose you can use just pip to install the dependencies from the pyproject file and don't need to install PDM for that purpose. Ofc. you wouldn't use the lock file in that case.

13:34:53
19 Jan 2024
@Evidlo:matrix.orgevidloI'll have some time this weekend to get back on this08:23:23
25 Jan 2024
@squid_rider:matrix.orgsquid_rider joined the room.12:16:01
@squid_rider:matrix.orgsquid_riderhello, i'm trying to copy entries from one database to another, if my understanding is correct there is no "direct" way of doing this, i have to loop on the kp1 secrets to get all the attributes and create an entry with what i found on kp2. i am getting it right?12:19:07
11 Feb 2024
@pngdeity:matrix.org@pngdeity:matrix.org left the room.05:10:47
26 Feb 2024
@msandova:gnome.orgMaximiliano 🥑Hello! I was planing in rolling a release of secrets at mid-March, I would greatly appreciate if there is a release of pykeepass :)20:57:30
29 Feb 2024
@Evidlo:matrix.orgevidlo Maximiliano 🥑: I've made a 3.0.7 release 07:28:55
@msandova:gnome.orgMaximiliano 🥑Thanks a lot!07:53:32
@sagiger:phys.ethz.chklanglicht evidlo Dear evidlo, can you estimate if it is difficult to implement SSH key management in pykeepass? I'm looking for a way to do it on the command line and not through the GUI. So that I can use it ansible. Thanks a lot. 08:22:27
@msandova:gnome.orgMaximiliano 🥑SSH is not a part of keepass08:38:29
@sagiger:phys.ethz.chklanglichtkeepassXC i use08:38:57
@msandova:gnome.orgMaximiliano 🥑therefore there is no reason for pykeepass should have API for this. 08:39:02
@msandova:gnome.orgMaximiliano 🥑thats all custom08:39:05

Show newer messages


Back to Room ListRoom Version: 1