Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Vicente Marçal
@Riverfount
Ok, thanks @fullsushidev:matrix.org
Ingrid Sena
@fullsushidev:matrix.org
[m]
yw
Vicente Marçal
@Riverfount

This is the context: **Gerenciamento de configurações** (valores padrão, validação, parsing, modelatem)

I fixed the typo error in word modelatem hehehe sorry!!!

Ingrid Sena
@fullsushidev:matrix.org
[m]
hey folks. Are we meeting today?
rochacbruno
@rochacbruno:matrix.org
[m]
Hey Ingrid Sena sorry I was out on Friday evening, this next Friday I am also on PTO, maybe we can discuss some topics here?
It would be nice to assign some of those HIGH labeled issues to individuals here, no deadlines, just to assign and then we track progress on it, and when meeting we can talk focused on the issues, WDYT?
1 reply
3 already assigned
I will be working on 2 related issues and reviewing fao89 work, all is related to the Lazy values
Oleksii Baranov
@obaranov
I’ll take also this one dynaconf/dynaconf#568 if you don’t mind.
rochacbruno
@rochacbruno:matrix.org
[m]
awesome 👍️
Oleksii Baranov
@obaranov
I will be on PTO as well next week. Hope to work one somthing this friday, or after PTO :)
rochacbruno
@rochacbruno:matrix.org
[m]
thanks @obaranov for that one you will need to take a look on the vendoring stuff, let me know if you need help to understand how that works
Oleksii Baranov
@obaranov
ack :)
Vicente Marçal
@Riverfount
There is no issue to translate the docs to pt_br in our repository. I started to do it locally, but it will be interesting to include one issue about this translation!
Ingrid Sena
@fullsushidev:matrix.org
[m]
also, if you want I can quickly update our vendor libs before dig into my issue rochacbruno
Vicente Marçal
@Riverfount
I open a draft PR with my first contribution to the translation of the doc, please if it is possible someone makes some comments there: dynaconf/dynaconf#787
3 replies
Vicente Marçal
@Riverfount
I did some review and fix the typo errors and other issues annotated from Jonatas on my WIP-PR on dynaconf/dynaconf#787 Dynaconf Repo. Please, someone could make a review of it!? Thanks!
2 replies
rochacbruno
@rochacbruno:matrix.org
[m]
It looks like I fixed an old bug dynaconf/dynaconf#795 (needs review)
rochacbruno
@rochacbruno:matrix.org
[m]

I am simplifying the vendoring process, removing the vendor_src folder to keep only vendor as the source for vendored libraries. The minification process will now happen only during the release, this will make solving bugs easier.

dynaconf/dynaconf#798

One of the issues we need to solve is to upgrade toml to a 1.0.0 compliant library, but this will bring a breaking change, tomo files will stop accepting unescaped unicode characters
rochacbruno
@rochacbruno:matrix.org
[m]
I upgraded to the new tomllib as part of the same PR, I had to keep old toml for a while to keep compatibility with unicode files
rochacbruno
@rochacbruno:matrix.org
[m]

Hello,

VEndoring has been removed, now it will be easier to debug,

Now lets make contributions even easier,

What we can remove / add to make it easier?

For example:

I have been thinking about removing some of the constraints on PRs, like the 100% test coverage one, or do you think it is good to keep it?

1 reply
Oleksii Baranov
@obaranov
I’d say we can reduce the bar to 85-90%. But I’m not sure if this is a real problem for contributors. I think right now we can simple put a special comment in the code to indicate that something should not be covered, and still keep 100% coverage
Vicente Marçal
@Riverfount
Hi there … if the PR has a lint error (it has 80 cols instead of 79 cols in just one line) what we can do? Do we write a comment to inform the PR author about this error?
2 replies
rochacbruno
@rochacbruno:matrix.org
[m]

HEy everyone

I renamed example/ to tests_functional/ and now instead of calling each example from Makefile I created a little test runner tests_functional/runtests.py so it is now easier to contribute with functional examples that are testable.

https://github.com/dynaconf/dynaconf/blob/master/tests_functional/README.md

Bruno Rocha
@rochacbruno
Releasing 3.1.10 later today
including all the fixes we got since 3.1.9
added a new milestone 3.2.0 with newer things to solve
Vicente Marçal
@Riverfount
Great!!
Vicente Marçal
@Riverfount
Hi @rochacbruno do we have some issues tagged as #Hacktoberfest2022 ?
Vicente Marçal
@Riverfount
We have this issue: dynaconf/dynaconf#797. There is an observation to see how fastApi implements the same there! I ask: do we need to use the Typer to create our mkdocs documentation?
2 replies
Bruno Rocha
@rochacbruno
Hi @Riverfount there are some issues tagged for hacktoberfest, we need to do an issue triage and select the easier ones, improve the explanations etc
Today I have been contacted by a manager from Intel, asking for help with a dynaconf release, so I learned Intel is using Dynaconf internally and also on open-source projects like this https://github.com/intel/openfl
Bruno Rocha
@rochacbruno
The U.S Government is also using dynaconf https://github.com/usds/justice40-tool
Vicente Marçal
@Riverfount
LOL nice news!!!
agoertz-fls
@agoertz-fls
Hi am pretty new to dynaconf, and I'm not exactly sure what the recommended way of writing a nested variable in toml is.
[default.database]
host=host
port=port
...
Or is it
[default]
database = {host=host, port=port, ...}
and is the [default] mandatory if I only have a single environment?
rochacbruno
@rochacbruno:matrix.org
[m]
@agoertz-fls: if you have a single environment you don't need [default]
toml docs has some explain about it also https://toml.io/en/v1.0.0#inline-table
rochacbruno
@rochacbruno:matrix.org
[m]
🎙️🎙️🎙️ I was interviewed at #python @Podcast__init__ talking about the Dynaconf project, you can listen the episode on Spotify https://open.spotify.com/episode/7ph7Vszk9Hld8y0MOEc0rl?si=0UhwDtcfRU2F29FJjBo0LA or your preferred podcast player, and also on the website PythonPodcast .com
Vicente Marçal
@Riverfount
that's so cool @rochacbruno:matrix.org congrats!!!
Vicente Marçal
@Riverfount

@rochacbruno:matrix.org When I execute all tests, I receive this error:

______________________________________________________________ test_env_should_not_have_underline ______________________________________________________________
/home/river/Documents/projects/pessoais/dynaconf/tests/test_base.py:214: in test_env_should_not_have_underline
    with settings.setenv("COOL_env"):
E   TypeError: 'NoneType' object does not support the context manager protocol
        settings   = <dynaconf.base.LazySettings object at 0x7f808577cc90>

What's happened?

Note: I didn't change anything in the code!
Bruno Rocha
@rochacbruno
@Riverfount dynaconf/dynaconf#830 there was a wrong test case for more than 4 years there
the test started failing only on Python 3.11
Python 3.11 is more strict with types
settings.setenv is not a context manager, so it cannot be called as with settings.setenv but Python <3.11 was not failing
Vicente Marçal
@Riverfount
lol I find a bug hehehe well now we fixed it! Thanks for your attention @rochacbruno