dependabot-python 0.107.45 → 0.107.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6374dc5aec985c18310a4c3cbbe12b9d3a829a8a81b5315019e3d5e1cf989bd4
4
- data.tar.gz: 8e93a3bf1bc85a936a76bca68685aaa3a09e8eeb5169b6f94cc4ee7a844019b7
3
+ metadata.gz: 60da6db32f807f98f23ab8009c172dc22953fbbb5ad7bc6694fd620d2d6af5fd
4
+ data.tar.gz: bd09cf2d0a9f4722380f044a17633bf53959d89b87730000f1417da9e639be7a
5
5
  SHA512:
6
- metadata.gz: 99c42ab69f01eef089c1966df4941363288929459ceef5d00b321ba258a66f5e4258265f579673dca774bfaa8ad3084639f90ddd189e9743cef396bc169c452b
7
- data.tar.gz: 9f4639d8dd902c9df3aff4380d151ef553c1f7b8980e40f6b427578403d1db88b3abe1b784021f932ad9706bb667f88d9534284e0d5fd7de4ebc32316f12717d
6
+ metadata.gz: 8597ed3c7c9d5beaa2c961d8840832f501940ebb06070c0eb7609fea369a89e34e22a8a17f29b3d319e6209a61a06537f352a751991cf10df89f5bc55c913798
7
+ data.tar.gz: d9930fee898759a6fe5eb3465c7a76ba85fd37d68f23ee02fa045a5d35d301bbcb4e848753b0261cc695b477ab839b665d356ff033e345a2532ad3d9eb839381
@@ -20,8 +20,8 @@ module Dependabot
20
20
  pyproject_object = TomlRB.parse(pyproject_content)
21
21
  poetry_object = pyproject_object.fetch("tool").fetch("poetry")
22
22
 
23
- poetry_object["source"] = pyproject_sources +
24
- config_variable_sources(credentials)
23
+ sources = pyproject_sources + config_variable_sources(credentials)
24
+ poetry_object["source"] = sources if sources.any?
25
25
 
26
26
  TomlRB.dump(pyproject_object)
27
27
  end
@@ -240,8 +240,8 @@ module Dependabot
240
240
 
241
241
  def updated_pyproject_content(updated_requirement:)
242
242
  content = pyproject.content
243
- content = add_private_sources(content)
244
243
  content = sanitize_pyproject_content(content)
244
+ content = add_private_sources(content)
245
245
  content = freeze_other_dependencies(content)
246
246
  content = set_target_dependency_req(content, updated_requirement)
247
247
  content
@@ -249,8 +249,8 @@ module Dependabot
249
249
 
250
250
  def sanitized_pyproject_content
251
251
  content = pyproject.content
252
- content = add_private_sources(content)
253
252
  content = sanitize_pyproject_content(content)
253
+ content = add_private_sources(content)
254
254
  content
255
255
  end
256
256
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-python
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.107.45
4
+ version: 0.107.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.107.45
19
+ version: 0.107.46
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.107.45
26
+ version: 0.107.46
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement