@@ -60,9 +60,9 @@ backend = {{ name = "in-memory", version = "0.1.0" }}
6060 package_dir
6161}
6262
63- /// Test that develop dependencies are correctly expanded and included in the lock-file
63+ /// Test that dev dependencies are correctly expanded and included in the lock-file
6464#[ tokio:: test]
65- async fn test_develop_dependencies_basic ( ) {
65+ async fn test_dev_dependencies_basic ( ) {
6666 setup_tracing ( ) ;
6767
6868 // Create a package database with common dependencies
@@ -94,15 +94,15 @@ python = ">=3.8"
9494"# ,
9595 ) ;
9696
97- // Create a manifest with develop dependencies
97+ // Create a manifest with dev dependencies
9898 let manifest_content = format ! (
9999 r#"
100100[workspace]
101101channels = ["{}"]
102102platforms = ["{}"]
103103preview = ["pixi-build"]
104104
105- [develop ]
105+ [dev ]
106106my-package = {{ path = "./my-package" }}
107107"# ,
108108 channel. url( ) ,
@@ -122,7 +122,7 @@ my-package = {{ path = "./my-package" }}
122122 Platform :: current( ) ,
123123 "cmake" ,
124124 ) ,
125- "cmake should be in the lock-file (build dependency of develop package)"
125+ "cmake should be in the lock-file (build dependency of dev package)"
126126 ) ;
127127
128128 assert ! (
@@ -131,7 +131,7 @@ my-package = {{ path = "./my-package" }}
131131 Platform :: current( ) ,
132132 "openssl" ,
133133 ) ,
134- "openssl should be in the lock-file (host dependency of develop package)"
134+ "openssl should be in the lock-file (host dependency of dev package)"
135135 ) ;
136136
137137 assert ! (
@@ -140,7 +140,7 @@ my-package = {{ path = "./my-package" }}
140140 Platform :: current( ) ,
141141 "python" ,
142142 ) ,
143- "python should be in the lock-file (run dependency of develop package)"
143+ "python should be in the lock-file (run dependency of dev package)"
144144 ) ;
145145
146146 assert ! (
@@ -149,13 +149,13 @@ my-package = {{ path = "./my-package" }}
149149 Platform :: current( ) ,
150150 "my-package" ,
151151 ) ,
152- "my-package itself should NOT be in the lock-file (it's a develop dependency)"
152+ "my-package itself should NOT be in the lock-file (it's a dev dependency)"
153153 ) ;
154154}
155155
156- /// Test that source dependencies of develop packages are correctly expanded
156+ /// Test that source dependencies of dev packages are correctly expanded
157157#[ tokio:: test]
158- async fn test_develop_dependencies_with_source_dependencies ( ) {
158+ async fn test_dev_dependencies_with_source_dependencies ( ) {
159159 setup_tracing ( ) ;
160160
161161 // Create a package database
@@ -197,15 +197,15 @@ requests = ">=2.0"
197197 ) ,
198198 ) ;
199199
200- // Create a manifest with package-a as a develop dependency
200+ // Create a manifest with package-a as a dev dependency
201201 let manifest_content = format ! (
202202 r#"
203203[workspace]
204204channels = ["{}"]
205205platforms = ["{}"]
206206preview = ["pixi-build"]
207207
208- [develop ]
208+ [dev ]
209209package-a = {{ path = "./package-a" }}
210210"# ,
211211 channel. url( ) ,
@@ -247,19 +247,19 @@ package-a = {{ path = "./package-a" }}
247247 "numpy should be in the lock-file (run dependency of package-b, which is a source dependency of package-a)"
248248 ) ;
249249
250- // Verify that package-a is NOT built (it's a develop dependency)
250+ // Verify that package-a is NOT built (it's a dev dependency)
251251 assert ! (
252252 !lock_file. contains_conda_package(
253253 consts:: DEFAULT_ENVIRONMENT_NAME ,
254254 Platform :: current( ) ,
255255 "package-a" ,
256256 ) ,
257- "package-a should NOT be in the lock-file (it's a develop dependency)"
257+ "package-a should NOT be in the lock-file (it's a dev dependency)"
258258 ) ;
259259
260260 // Note: package-b WILL be in the lock-file because it's a source dependency
261261 // of package-a. Source dependencies need to be built to extract their dependencies.
262- // This is expected behavior - only the direct develop dependencies are not built.
262+ // This is expected behavior - only the direct dev dependencies are not built.
263263 assert ! (
264264 lock_file. contains_conda_package(
265265 consts:: DEFAULT_ENVIRONMENT_NAME ,
@@ -270,9 +270,9 @@ package-a = {{ path = "./package-a" }}
270270 ) ;
271271}
272272
273- /// Test that when multiple develop dependencies reference each other, they are correctly filtered
273+ /// Test that when multiple dev dependencies reference each other, they are correctly filtered
274274#[ tokio:: test]
275- async fn test_develop_dependencies_with_cross_references ( ) {
275+ async fn test_dev_dependencies_with_cross_references ( ) {
276276 setup_tracing ( ) ;
277277
278278 let package_database = create_test_package_database ( ) ;
@@ -312,15 +312,15 @@ package-y = {{ path = "{}" }}
312312 ) ,
313313 ) ;
314314
315- // Add BOTH as develop dependencies
315+ // Add BOTH as dev dependencies
316316 let manifest_content = format ! (
317317 r#"
318318[workspace]
319319channels = ["{}"]
320320platforms = ["{}"]
321321preview = ["pixi-build"]
322322
323- [develop ]
323+ [dev ]
324324package-x = {{ path = "./package-x" }}
325325package-y = {{ path = "{}" }}
326326"# ,
@@ -355,14 +355,14 @@ package-y = {{ path = "{}" }}
355355
356356 // Verify that neither package-x nor package-y are in the lock-file
357357 // This is the key test: package-y is referenced by package-x, but since both are
358- // develop dependencies, package-y should be filtered out from package-x's dependencies
358+ // dev dependencies, package-y should be filtered out from package-x's dependencies
359359 assert ! (
360360 !lock_file. contains_conda_package(
361361 consts:: DEFAULT_ENVIRONMENT_NAME ,
362362 Platform :: current( ) ,
363363 "package-x" ,
364364 ) ,
365- "package-x should NOT be in the lock-file (it's a develop dependency)"
365+ "package-x should NOT be in the lock-file (it's a dev dependency)"
366366 ) ;
367367
368368 assert ! (
@@ -371,13 +371,13 @@ package-y = {{ path = "{}" }}
371371 Platform :: current( ) ,
372372 "package-y" ,
373373 ) ,
374- "package-y should NOT be in the lock-file (it's a develop dependency)"
374+ "package-y should NOT be in the lock-file (it's a dev dependency)"
375375 ) ;
376376}
377377
378- /// Test that feature-specific develop dependencies work correctly
378+ /// Test that feature-specific dev dependencies work correctly
379379#[ tokio:: test]
380- async fn test_develop_dependencies_in_features ( ) {
380+ async fn test_dev_dependencies_in_features ( ) {
381381 setup_tracing ( ) ;
382382
383383 let package_database = create_test_package_database ( ) ;
@@ -400,7 +400,7 @@ zlib = ">=1.0"
400400"# ,
401401 ) ;
402402
403- // Create a manifest with feature-specific develop dependencies
403+ // Create a manifest with feature-specific dev dependencies
404404 let manifest_content = format ! (
405405 r#"
406406[workspace]
@@ -411,7 +411,7 @@ preview = ["pixi-build"]
411411[environments]
412412test = ["test-feature"]
413413
414- [feature.test-feature.develop ]
414+ [feature.test-feature.dev ]
415415feature-package = {{ path = "./feature-package" }}
416416"# ,
417417 channel. url( ) ,
@@ -441,15 +441,15 @@ feature-package = {{ path = "./feature-package" }}
441441 // Verify that feature-package itself is not built
442442 assert ! (
443443 !lock_file. contains_conda_package( "test" , Platform :: current( ) , "feature-package" , ) ,
444- "feature-package should NOT be in the lock-file (it's a develop dependency)"
444+ "feature-package should NOT be in the lock-file (it's a dev dependency)"
445445 ) ;
446446}
447447
448- /// Test that a source package can be listed both in [develop ] and in dependencies
449- /// without causing conflicts (the package is essentially included twice, once as a develop dep
448+ /// Test that a source package can be listed both in [dev ] and in dependencies
449+ /// without causing conflicts (the package is essentially included twice, once as a dev dep
450450/// and once as a regular source dep)
451451#[ tokio:: test]
452- async fn test_develop_and_regular_dependency_same_package ( ) {
452+ async fn test_dev_and_regular_dependency_same_package ( ) {
453453 setup_tracing ( ) ;
454454
455455 let package_database = create_test_package_database ( ) ;
@@ -461,7 +461,7 @@ async fn test_develop_and_regular_dependency_same_package() {
461461 . unwrap ( )
462462 . with_backend_override ( backend_override) ;
463463
464- // Create a shared package that will be both a develop dependency and a regular dependency
464+ // Create a shared package that will be both a dev dependency and a regular dependency
465465 let shared_package_path = create_source_package (
466466 pixi. workspace_path ( ) ,
467467 "shared-package" ,
@@ -488,9 +488,9 @@ numpy = ">=1.0"
488488 ) ;
489489
490490 // Create a manifest that:
491- // 1. Lists shared-package as a develop dependency
491+ // 1. Lists shared-package as a dev dependency
492492 // 2. Lists dependent-package as a regular source dependency
493- // This means shared-package appears both as a develop dep and as a transitive source dep
493+ // This means shared-package appears both as a dev dep and as a transitive source dep
494494 let manifest_content = format ! (
495495 r#"
496496[workspace]
@@ -501,7 +501,7 @@ preview = ["pixi-build"]
501501[dependencies]
502502dependent-package = {{ path = "./dependent-package" }}
503503
504- [develop ]
504+ [dev ]
505505shared-package = {{ path = "{}" }}
506506"# ,
507507 channel. url( ) ,
@@ -546,9 +546,9 @@ shared-package = {{ path = "{}" }}
546546
547547 // Key assertion: shared-package WILL appear in the lock-file as a built package
548548 // because it's a source dependency of dependent-package.
549- // The fact that it's also in [develop ] doesn't prevent it from being built when
549+ // The fact that it's also in [dev ] doesn't prevent it from being built when
550550 // it's needed as a dependency of another package.
551- // This is correct behavior - [develop ] means "install my dependencies without building me",
551+ // This is correct behavior - [dev ] means "install my dependencies without building me",
552552 // but if another package needs it built, it will be built.
553553 assert ! (
554554 lock_file. contains_conda_package(
@@ -560,9 +560,9 @@ shared-package = {{ path = "{}" }}
560560 ) ;
561561}
562562
563- /// Test that platform-specific develop dependencies work correctly
563+ /// Test that platform-specific dev dependencies work correctly
564564#[ tokio:: test]
565- async fn test_develop_dependencies_platform_specific ( ) {
565+ async fn test_dev_dependencies_platform_specific ( ) {
566566 setup_tracing ( ) ;
567567
568568 let package_database = create_test_package_database ( ) ;
@@ -585,15 +585,15 @@ make = ">=4.0"
585585"# ,
586586 ) ;
587587
588- // Create a manifest with platform-specific develop dependencies
588+ // Create a manifest with platform-specific dev dependencies
589589 let manifest_content = format ! (
590590 r#"
591591[workspace]
592592channels = ["{}"]
593593platforms = ["{}"]
594594preview = ["pixi-build"]
595595
596- [target.{}.develop ]
596+ [target.{}.dev ]
597597platform-package = {{ path = "./platform-package" }}
598598"# ,
599599 channel. url( ) ,
@@ -623,14 +623,14 @@ platform-package = {{ path = "./platform-package" }}
623623 Platform :: current( ) ,
624624 "platform-package" ,
625625 ) ,
626- "platform-package should NOT be in the lock-file (it's a develop dependency)"
626+ "platform-package should NOT be in the lock-file (it's a dev dependency)"
627627 ) ;
628628}
629629
630630/// Test that variant selection chooses the highest matching version
631631/// When python = "*" with variants [3.10, 3.12], should select 3.12 even though 3.13 exists
632632#[ tokio:: test]
633- async fn test_develop_dependency_variant_selection ( ) {
633+ async fn test_dev_dependency_variant_selection ( ) {
634634 setup_tracing ( ) ;
635635 let package_database = create_test_package_database ( ) ;
636636
@@ -653,7 +653,7 @@ python = "*"
653653 "# ,
654654 ) ;
655655
656- // Create a manifest with develop dependencies and variants
656+ // Create a manifest with dev dependencies and variants
657657 let manifest_content = format ! (
658658 r#"
659659[workspace]
@@ -663,7 +663,7 @@ preview = ["pixi-build"]
663663
664664[dependencies]
665665
666- [develop ]
666+ [dev ]
667667variant-python-package = {{ path = "./variant-python-package" }}
668668
669669[workspace.build-variants]
@@ -692,7 +692,7 @@ python = ["3.10", "3.12"]
692692/// Test that variant selection is constrained by regular dependencies
693693/// When python = "*" with variants [3.10, 3.12], but dependencies require <3.12, should select 3.10
694694#[ tokio:: test]
695- async fn test_develop_dependency_variant_constrained_by_dependencies ( ) {
695+ async fn test_dev_dependency_variant_constrained_by_dependencies ( ) {
696696 setup_tracing ( ) ;
697697 let package_database = create_test_package_database ( ) ;
698698
@@ -715,7 +715,7 @@ python = "*"
715715 "# ,
716716 ) ;
717717
718- // Create a manifest with develop dependencies, variants, and a constraining dependency
718+ // Create a manifest with dev dependencies, variants, and a constraining dependency
719719 let manifest_content = format ! (
720720 r#"
721721[workspace]
@@ -726,7 +726,7 @@ preview = ["pixi-build"]
726726[dependencies]
727727python = "<3.12"
728728
729- [develop ]
729+ [dev ]
730730variant-python-package = {{ path = "./variant-python-package" }}
731731
732732[workspace.build-variants]
0 commit comments