Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offlineimap config files not stored when installing via pip #156

Open
chrysle opened this issue Jul 7, 2023 · 7 comments
Open

Offlineimap config files not stored when installing via pip #156

chrysle opened this issue Jul 7, 2023 · 7 comments

Comments

@chrysle
Copy link
Contributor

chrysle commented Jul 7, 2023

In the documentation is stated that offlineimap stores a minimal config file below /usr/share. However when installing the program with pip (which naturally has no write access to these directories), this file is nowhere to be found on my system, except in my ~/.cache/ directory. This surely can't be intended?

General information

  • system/distribution (with version): Ubuntu 20.04.05 LTS
  • offlineimap version (offlineimap -V): 7.3.4
  • Python version: 3.8.10
  • server name or domain: -
  • CLI options: -

Configuration file offlineimaprc

REMOVE PRIVATE DATA.

pythonfile (if any)

REMOVE PRIVATE DATA.

Logs, error

REMOVE PRIVATE DATA.

Steps to reproduce the error

  • Install offlineimap with pip and perform a user installation: pip install --user offlineimap
  • Search the whole system for a file named offlineimap.conf.minimal (or offlineimap.conf)
@thekix
Copy link
Member

thekix commented Nov 22, 2023

Hi @chrysle

currently, in pypi, there is only the offlineimap version for Python2. This version, offlineimap3, is Python3.

@spaetz could you help with the upload of offlineimap3 to pypi.org? I am not user how you did the uploads for Python2.

Regards,
kix

@spaetz
Copy link
Member

spaetz commented Nov 22, 2023

Hi, currently 'offlineimap' and me are listed as maintainers on pypi.org for offlineimap. I am more than happy to pass on that maintainership to the current maintainers. Other than than, I do not think I can be of much help.

@thekix
Copy link
Member

thekix commented Nov 22, 2023

Hi @spaetz

thanks a lot for your reply. @spaetz @nicolas33 who should be in the maintainers group?

To upload the package, are you using setuptools or how are you uploading it?

Cheers,
kix

@spaetz
Copy link
Member

spaetz commented Nov 23, 2023 via email

@spaetz
Copy link
Member

spaetz commented Nov 23, 2023 via email

@chrysle
Copy link
Contributor Author

chrysle commented Nov 23, 2023

I have not been uploading anything for a long time, and to be honest I have no idea how or what tools I had been using. Also, I think pypi has changed quite a few things since then in order to make uploads more secure.

I'd suggest you create a GitHub Actions Workflow that automatically uploads to PyPI whenever a release happens.
See this guide for more information.

@thekix
Copy link
Member

thekix commented Nov 27, 2023

I have not been uploading anything for a long time, and to be honest I have no idea how or what tools I had been using. Also, I think pypi has changed quite a few things since then in order to make uploads more secure. So, I won't be of much help in that regard, sorry. -- Sent from mobile device.

Hi @spaetz

please, include me in the list of maintainers in pypi. I will try to upload a new version. I will use the link provided by @chrysle to do it.

About the offlineimap python2 packages, I am not sure about retire them. You did a great work and if they do not create problems, we should left them in pypi. What do you think?

Best regards,
kix

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

No branches or pull requests

3 participants